Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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 10.0.0-master/package.mo): time 1.813/1.813, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 183.9 kB / 490.8 MB, free: 1.914 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008474/0.0008474, allocations: 94.66 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4437/0.4446, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.6433, allocations: 143 MB / 1.212 GB, free: 39.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/1.165, allocations: 150.1 MB / 1.358 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.165, allocations: 74.64 kB / 1.358 GB, free: 17.24 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00627/1.172, allocations: 2.567 MB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/1.172, allocations: 8.5 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/1.172, allocations: 15.84 kB / 1.361 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.172, allocations: 188.2 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/1.172, allocations: 4.875 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/1.172, allocations: 15.69 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001837/1.172, allocations: 88.5 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/1.172, allocations: 111.4 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.172, allocations: 6.438 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.172, allocations: 0 / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.172, allocations: 3.359 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/1.173, allocations: 460 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/1.173, allocations: 88.25 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/1.173, allocations: 38.53 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/1.173, allocations: 6.125 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/1.173, allocations: 35.78 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/1.173, allocations: 0 / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002177/1.173, allocations: 102.4 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/1.173, allocations: 53.92 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/1.174, allocations: 133.4 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/1.174, allocations: 27.27 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/1.174, allocations: 110.5 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/1.174, allocations: 25.58 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/1.174, allocations: 0 / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/1.174, allocations: 325.1 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/1.174, allocations: 29.66 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/1.174, allocations: 25.36 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/1.174, allocations: 21.8 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.174, allocations: 3.906 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001507/1.174, allocations: 97.12 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.174, allocations: 10.05 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.174, allocations: 0 / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/1.174, allocations: 1.438 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.174, allocations: 24.62 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/1.174, allocations: 0.7969 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/1.174, allocations: 24.86 kB / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/1.174, allocations: 3.703 kB / 1.363 GB, free: 31.39 MB / 0.8386 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.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.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 5.98e-05/1.175, allocations: 108.3 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/1.175, allocations: 9.484 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/1.175, allocations: 14.36 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.175, allocations: 1.438 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.175, allocations: 4.875 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.175, allocations: 4.656 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/1.175, allocations: 206.4 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.175, allocations: 0 / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/1.175, allocations: 25.64 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.175, allocations: 0 / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.175, allocations: 2.906 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.175, allocations: 4 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.175, allocations: 4.875 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001814/1.175, allocations: 201.7 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002955/1.175, allocations: 0.5612 MB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/1.176, allocations: 86.27 kB / 1.364 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/1.176, allocations: 5.281 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/1.176, allocations: 12.8 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/1.176, allocations: 24.45 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/1.176, allocations: 3.797 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.401e-05/1.176, allocations: 103.8 kB / 1.364 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007759/1.177, allocations: 28.25 kB / 1.364 GB, free: 30.25 MB / 0.8386 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.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001168/1.177, allocations: 117.5 kB / 1.364 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001568/1.177, allocations: 73.27 kB / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/1.177, allocations: 0 / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/1.177, allocations: 48.81 kB / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/1.177, allocations: 3.469 kB / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/1.178, allocations: 164.4 kB / 1.365 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/1.178, allocations: 0.7394 MB / 1.365 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.178, allocations: 0 / 1.365 GB, free: 29.35 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat