Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.765/1.765, allocations: 387.2 MB / 394.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009952/0.0009949, allocations: 187.8 kB / 487 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.117/1.117, allocations: 221.3 MB / 0.7819 GB, free: 6.73 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 89.67 kB / 0.9213 GB, free: 43.63 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2351/0.2359, allocations: 148.5 MB / 1.066 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.7689, allocations: 142.3 MB / 1.205 GB, free: 72.66 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.919, allocations: 149.3 MB / 1.351 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.9192, allocations: 75.94 kB / 1.351 GB, free: 13.84 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.006131/0.9253, allocations: 2.526 MB / 1.354 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.9254, allocations: 17.78 kB / 1.354 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.9254, allocations: 15.81 kB / 1.354 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.9256, allocations: 186.8 kB / 1.354 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.9256, allocations: 8 kB / 1.354 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.9256, allocations: 8.5 kB / 1.354 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001755/0.9258, allocations: 80.47 kB / 1.354 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.926, allocations: 115.5 kB / 1.354 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.926, allocations: 0 / 1.354 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.926, allocations: 4 kB / 1.354 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.926, allocations: 0 / 1.354 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.9267, allocations: 462.5 kB / 1.355 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.9269, allocations: 90.64 kB / 1.355 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.9269, allocations: 36.92 kB / 1.355 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.9269, allocations: 0 / 1.355 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.927, allocations: 38.55 kB / 1.355 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.927, allocations: 0 / 1.355 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002165/0.9272, allocations: 97.44 kB / 1.355 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.9272, allocations: 57.47 kB / 1.355 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.9273, allocations: 132.1 kB / 1.355 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.9273, allocations: 29.7 kB / 1.355 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.9274, allocations: 107.8 kB / 1.355 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.9274, allocations: 27.56 kB / 1.355 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.9274, allocations: 0 / 1.355 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.9275, allocations: 322.8 kB / 1.355 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.9276, allocations: 24 kB / 1.355 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.9276, allocations: 33.19 kB / 1.355 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.9277, allocations: 23.94 kB / 1.355 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.9277, allocations: 0 / 1.355 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001541/0.9278, allocations: 102 kB / 1.356 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.9279, allocations: 4 kB / 1.356 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.9279, allocations: 0 / 1.356 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.9279, allocations: 0 / 1.356 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.9281, allocations: 31.92 kB / 1.356 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.9281, allocations: 0.5 kB / 1.356 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.9282, allocations: 11.98 kB / 1.356 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.9282, allocations: 4 kB / 1.356 GB, free: 9.125 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.9283, allocations: 116.9 kB / 1.356 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.9283, allocations: 11.91 kB / 1.356 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.9284, allocations: 8.5 kB / 1.356 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9284, allocations: 7.844 kB / 1.356 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.9284, allocations: 0 / 1.356 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.9284, allocations: 0 / 1.356 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.9286, allocations: 210 kB / 1.356 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9286, allocations: 0.5 kB / 1.356 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.9288, allocations: 31.91 kB / 1.356 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9288, allocations: 4 kB / 1.356 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.9288, allocations: 1 kB / 1.356 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9288, allocations: 0 / 1.356 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9288, allocations: 0 / 1.356 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001851/0.929, allocations: 197.2 kB / 1.356 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002608/0.9293, allocations: 0.5661 MB / 1.357 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.9293, allocations: 92.94 kB / 1.357 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.9293, allocations: 0 / 1.357 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.9295, allocations: 20.8 kB / 1.357 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.9295, allocations: 15.92 kB / 1.357 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.9295, allocations: 8 kB / 1.357 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.249e-05/0.9296, allocations: 103.2 kB / 1.357 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007708/0.9304, allocations: 27.91 kB / 1.357 GB, free: 7.629 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.9305, allocations: 111 kB / 1.357 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.9307, allocations: 71.94 kB / 1.357 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.9307, allocations: 3.938 kB / 1.357 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.9308, allocations: 48.75 kB / 1.357 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.931, allocations: 11.91 kB / 1.357 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.9314, allocations: 170 kB / 1.357 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.9316, allocations: 0.7308 MB / 1.358 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/0.9316, allocations: 0 / 1.358 GB, free: 6.441 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat