Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithAFMS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithAFMS",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.804/1.804, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009383/0.0009383, allocations: 173.3 kB / 487 MB, free: 5.406 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.3 MB / 0.7819 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.0008961, allocations: 106.8 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4549/0.4558, allocations: 148.6 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.6564, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5453/1.202, allocations: 153 MB / 1.355 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.202, allocations: 81.36 kB / 1.355 GB, free: 15.7 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.06117/1.263, allocations: 27.76 MB / 1.382 GB, free: 13.65 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.263, allocations: 8 kB / 1.382 GB, free: 13.64 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/1.264, allocations: 229.3 kB / 1.382 GB, free: 13.41 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/1.266, allocations: 1.217 MB / 1.383 GB, free: 12.44 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/1.266, allocations: 60 kB / 1.383 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/1.266, allocations: 119.2 kB / 1.384 GB, free: 12.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001906/1.268, allocations: 1.094 MB / 1.385 GB, free: 11.63 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/1.27, allocations: 1.452 MB / 1.386 GB, free: 10.57 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/1.27, allocations: 3.938 kB / 1.386 GB, free: 10.56 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.27, allocations: 15.89 kB / 1.386 GB, free: 10.55 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/1.27, allocations: 44 kB / 1.386 GB, free: 10.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/1.278, allocations: 5.351 MB / 1.391 GB, free: 6.367 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.28, allocations: 0.9785 MB / 1.392 GB, free: 5.715 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/1.28, allocations: 465.3 kB / 1.393 GB, free: 5.445 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.887e-05/1.281, allocations: 12.56 kB / 1.393 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/1.281, allocations: 0.6612 MB / 1.393 GB, free: 4.922 MB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 2.535e-06/1.281, allocations: 4 kB / 1.393 GB, free: 4.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=116): time 0.001564/1.283, allocations: 0.8492 MB / 1.394 GB, free: 4.301 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/1.283, allocations: 429.4 kB / 1.395 GB, free: 3.785 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.284, allocations: 0.8103 MB / 1.395 GB, free: 3.195 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.284, allocations: 54.81 kB / 1.395 GB, free: 3.148 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/1.285, allocations: 0.6181 MB / 1.396 GB, free: 2.605 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/1.285, allocations: 336 kB / 1.396 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/1.285, allocations: 0 / 1.396 GB, free: 2.328 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.285, allocations: 353.7 kB / 1.397 GB, free: 1.996 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/1.286, allocations: 381.4 kB / 1.397 GB, free: 1.801 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008006/1.287, allocations: 0.6355 MB / 1.398 GB, free: 1.27 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/1.287, allocations: 363.6 kB / 1.398 GB, free: 1.051 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.287, allocations: 4 kB / 1.398 GB, free: 1.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001494/1.289, allocations: 1.022 MB / 1.399 GB, free: 328 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002539/1.289, allocations: 0.7918 MB / 1.4 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/1.289, allocations: 8 kB / 1.4 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.289, allocations: 4 kB / 1.4 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.29, allocations: 265.8 kB / 1.4 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.29, allocations: 19.86 kB / 1.4 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.291, allocations: 259.1 kB / 1.4 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/1.292, allocations: 46.36 kB / 1.4 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/1.292, allocations: 4 kB / 1.4 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/1.293, allocations: 0.8293 MB / 1.401 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.293, allocations: 0 / 1.401 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.293, allocations: 8 kB / 1.401 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/1.294, allocations: 242.3 kB / 1.401 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.294, allocations: 8 kB / 1.401 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.295, allocations: 243.1 kB / 1.402 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/1.295, allocations: 42.73 kB / 1.402 GB, free: 13.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.disMinCon.enaDis.y,$PRE.disMinCon1.enaDis.y,$PRE.minCon.enaDis.y,$whenCondition15,disMinCon.yEnaMinOut,disMinCon.enaMinCon.u2,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$PRE.disMinCon.les.lesHys.y,disMinCon.les.lesHys.y,$PRE.disMinCon.greThr.greHys.y,disMinCon.greThr.greHys.y,$PRE.disMinCon.gre.greHys.y,disMinCon.gre.greHys.y,$PRE.disMinCon.enaDis.u,disMinCon.enaDis.u,$PRE.disMinCon.enaDis.clr,disMinCon.enaDis.clr,disMinCon.enaDis.y,$whenCondition10,disMinCon1.yEnaMinOut,disMinCon1.enaMinCon.u2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$PRE.disMinCon1.les.lesHys.y,disMinCon1.les.lesHys.y,$PRE.disMinCon1.greThr.greHys.y,disMinCon1.greThr.greHys.y,$PRE.disMinCon1.gre.greHys.y,disMinCon1.gre.greHys.y,$PRE.disMinCon1.enaDis.u,disMinCon1.enaDis.u,$PRE.disMinCon1.enaDis.clr,disMinCon1.enaDis.clr,disMinCon1.enaDis.y,$whenCondition5,minCon.yEnaMinOut,minCon.enaMinCon.u2,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.minCon.les.lesHys.y,minCon.les.lesHys.y,$PRE.minCon.greThr.greHys.y,minCon.greThr.greHys.y,$PRE.minCon.gre.greHys.y,minCon.gre.greHys.y,$PRE.minCon.enaDis.u,minCon.enaDis.u,$PRE.minCon.enaDis.clr,minCon.enaDis.clr,minCon.enaDis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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 0.0002799/1.295, allocations: 157.4 kB / 1.402 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.296, allocations: 122.5 kB / 1.402 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/1.297, allocations: 0.9743 MB / 1.403 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.297, allocations: 12 kB / 1.403 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.297, allocations: 0 / 1.403 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/1.297, allocations: 11.97 kB / 1.403 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/1.301, allocations: 2.658 MB / 1.406 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.301, allocations: 4 kB / 1.406 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/1.302, allocations: 241.7 kB / 1.406 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/1.302, allocations: 15.98 kB / 1.406 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/1.302, allocations: 19.42 kB / 1.406 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.302, allocations: 15.92 kB / 1.406 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.302, allocations: 4 kB / 1.406 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002393/1.304, allocations: 2.027 MB / 1.408 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003184/1.307, allocations: 2.957 MB / 1.411 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/1.308, allocations: 223 kB / 1.411 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.308, allocations: 34.05 kB / 1.411 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.309, allocations: 211.8 kB / 1.411 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/1.309, allocations: 186.2 kB / 1.411 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/1.31, allocations: 54.41 kB / 1.411 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007226/1.31, allocations: 0.5803 MB / 1.412 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002537/1.313, allocations: 0.5828 MB / 1.413 GB, free: 5.082 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 3 (minCon.minOACon.I.y,disMinCon1.minOACon.I.y,disMinCon.minOACon.I.y) * Number of discrete variables: 36 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minCon.les.lesHys.y,minCon.greThr.greHys.y,minCon.gre.greHys.y,minCon.enaDis.u,minCon.enaDis.clr,minCon.enaDis.y,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,disMinCon1.les.lesHys.y,disMinCon1.greThr.greHys.y,disMinCon1.gre.greHys.y,disMinCon1.enaDis.u,disMinCon1.enaDis.clr,disMinCon1.enaDis.y,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,disMinCon.les.lesHys.y,disMinCon.greThr.greHys.y,disMinCon.gre.greHys.y,disMinCon.enaDis.u,disMinCon.enaDis.clr,disMinCon.enaDis.y,minCon.yEnaMinOut,disMinCon1.yEnaMinOut,disMinCon.yEnaMinOut) * Number of discrete states: 18 (disMinCon.greThr.greHys.y,disMinCon.gre.greHys.y,disMinCon.les.lesHys.y,disMinCon.enaDis.u,disMinCon.enaDis.clr,disMinCon.enaDis.y,disMinCon1.greThr.greHys.y,disMinCon1.gre.greHys.y,disMinCon1.les.lesHys.y,disMinCon1.enaDis.u,disMinCon1.enaDis.clr,disMinCon1.enaDis.y,minCon.greThr.greHys.y,minCon.gre.greHys.y,minCon.les.lesHys.y,minCon.enaDis.u,minCon.enaDis.clr,minCon.enaDis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003133/1.313, allocations: 178.9 kB / 1.413 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002578/1.316, allocations: 1.534 MB / 1.414 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.316, allocations: 7.938 kB / 1.414 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.317, allocations: 0.6977 MB / 1.415 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.319, allocations: 323.9 kB / 1.415 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/1.323, allocations: 2.137 MB / 1.417 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/1.324, allocations: 1.466 MB / 1.419 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of SimCode: time 2.865e-06/1.325, allocations: 0 / 1.419 GB, free: 15.81 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithAFMS_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithAFMS.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe 2>&1)