Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",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 2.026/2.026, allocations: 390.4 MB / 397.7 MB, free: 1.938 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001373, allocations: 181.3 kB / 490.8 MB, free: 7.492 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.3 MB / 0.7863 GB, free: 288 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 98.33 kB / 0.9264 GB, free: 0.6562 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.5413/0.5423, allocations: 149.3 MB / 1.072 GB, free: 137.3 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.8273, allocations: 143 MB / 1.212 GB, free: 10.38 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7643/1.592, allocations: 151.8 MB / 1.36 GB, free: 10.07 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.592, allocations: 87.92 kB / 1.36 GB, free: 9.988 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.01952/1.612, allocations: 7.763 MB / 1.368 GB, free: 2.195 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.612, allocations: 12 kB / 1.368 GB, free: 2.184 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/1.612, allocations: 75.09 kB / 1.368 GB, free: 2.109 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/1.613, allocations: 483.6 kB / 1.368 GB, free: 1.594 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/1.613, allocations: 20 kB / 1.368 GB, free: 1.574 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/1.613, allocations: 28 kB / 1.368 GB, free: 1.547 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006936/1.613, allocations: 346.6 kB / 1.369 GB, free: 1.207 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/1.614, allocations: 371.9 kB / 1.369 GB, free: 0.8359 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.614, allocations: 4 kB / 1.369 GB, free: 0.832 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/1.614, allocations: 0 / 1.369 GB, free: 0.832 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/1.614, allocations: 16 kB / 1.369 GB, free: 0.8164 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/1.617, allocations: 1.393 MB / 1.37 GB, free: 15.38 MB / 0.8467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/1.617, allocations: 134.8 kB / 1.37 GB, free: 15.24 MB / 0.8467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/1.617, allocations: 60.86 kB / 1.371 GB, free: 15.18 MB / 0.8467 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/1.617, allocations: 8.344 kB / 1.371 GB, free: 15.17 MB / 0.8467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.617, allocations: 30.56 kB / 1.371 GB, free: 15.13 MB / 0.8467 GB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/1.617, allocations: 0 / 1.371 GB, free: 15.13 MB / 0.8467 GB Notification: Performance of matching and sorting (n=19): time 0.0003546/1.618, allocations: 173.1 kB / 1.371 GB, free: 14.95 MB / 0.8467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/1.618, allocations: 51.41 kB / 1.371 GB, free: 14.89 MB / 0.8467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/1.618, allocations: 348.6 kB / 1.371 GB, free: 14.55 MB / 0.8467 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.618, allocations: 29.69 kB / 1.371 GB, free: 14.51 MB / 0.8467 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/1.618, allocations: 290.6 kB / 1.371 GB, free: 14.23 MB / 0.8467 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/1.618, allocations: 63.09 kB / 1.372 GB, free: 14.16 MB / 0.8467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/1.618, allocations: 0 / 1.372 GB, free: 14.16 MB / 0.8467 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.619, allocations: 346.8 kB / 1.372 GB, free: 13.82 MB / 0.8467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/1.619, allocations: 84.75 kB / 1.372 GB, free: 13.73 MB / 0.8467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/1.619, allocations: 177.7 kB / 1.372 GB, free: 13.51 MB / 0.8467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/1.619, allocations: 102.8 kB / 1.372 GB, free: 13.41 MB / 0.8467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.619, allocations: 4 kB / 1.372 GB, free: 13.41 MB / 0.8467 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00053/1.62, allocations: 300.9 kB / 1.372 GB, free: 13.11 MB / 0.8467 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.62, allocations: 7.984 kB / 1.372 GB, free: 13.1 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.62, allocations: 4 kB / 1.372 GB, free: 13.1 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.62, allocations: 4.406 kB / 1.372 GB, free: 13.09 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/1.62, allocations: 91.83 kB / 1.373 GB, free: 13 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.62, allocations: 7.906 kB / 1.373 GB, free: 13 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/1.62, allocations: 51.67 kB / 1.373 GB, free: 12.95 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.62, allocations: 19.98 kB / 1.373 GB, free: 12.93 MB / 0.8467 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 9.688e-05/1.621, allocations: 108.9 kB / 1.373 GB, free: 12.81 MB / 0.8467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/1.621, allocations: 39.53 kB / 1.373 GB, free: 12.77 MB / 0.8467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/1.621, allocations: 203.8 kB / 1.373 GB, free: 12.56 MB / 0.8467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.621, allocations: 4 kB / 1.373 GB, free: 12.56 MB / 0.8467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.621, allocations: 0 / 1.373 GB, free: 12.56 MB / 0.8467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.621, allocations: 4 kB / 1.373 GB, free: 12.55 MB / 0.8467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/1.622, allocations: 0.7023 MB / 1.374 GB, free: 11.79 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.622, allocations: 4 kB / 1.374 GB, free: 11.79 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/1.622, allocations: 60.08 kB / 1.374 GB, free: 11.73 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.622, allocations: 4 kB / 1.374 GB, free: 11.73 MB / 0.8467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.622, allocations: 3.906 kB / 1.374 GB, free: 11.72 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.622, allocations: 4 kB / 1.374 GB, free: 11.72 MB / 0.8467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.622, allocations: 0 / 1.374 GB, free: 11.72 MB / 0.8467 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004305/1.623, allocations: 393.4 kB / 1.374 GB, free: 11.27 MB / 0.8467 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005783/1.623, allocations: 0.7654 MB / 1.375 GB, free: 10.43 MB / 0.8467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/1.623, allocations: 124.6 kB / 1.375 GB, free: 10.29 MB / 0.8467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/1.624, allocations: 4 kB / 1.375 GB, free: 10.28 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/1.624, allocations: 19.98 kB / 1.375 GB, free: 10.26 MB / 0.8467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/1.624, allocations: 19.97 kB / 1.375 GB, free: 10.24 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/1.624, allocations: 8 kB / 1.375 GB, free: 10.23 MB / 0.8467 GB Notification: Performance of sort global known variables: time 0.0002668/1.624, allocations: 247.2 kB / 1.375 GB, free: 9.992 MB / 0.8467 GB Notification: Performance of remove unused functions: time 0.001029/1.625, allocations: 87.58 kB / 1.375 GB, free: 9.906 MB / 0.8467 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001415/1.625, allocations: 107.2 kB / 1.375 GB, free: 9.793 MB / 0.8467 GB Notification: Performance of simCode: created initialization part: time 0.0003641/1.626, allocations: 199.7 kB / 1.376 GB, free: 9.598 MB / 0.8467 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.626, allocations: 0 / 1.376 GB, free: 9.598 MB / 0.8467 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/1.626, allocations: 75.94 kB / 1.376 GB, free: 9.523 MB / 0.8467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/1.627, allocations: 170.7 kB / 1.376 GB, free: 9.363 MB / 0.8467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/1.628, allocations: 0.5147 MB / 1.376 GB, free: 8.805 MB / 0.8467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/1.628, allocations: 0.8985 MB / 1.377 GB, free: 7.883 MB / 0.8467 GB Notification: Performance of SimCode: time 3.11e-07/1.628, allocations: 0 / 1.377 GB, free: 7.883 MB / 0.8467 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat does not exist to compare? outputFormat=mat