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.SeparateWithDP.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.SeparateWithDP,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithDP",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.759/1.759, allocations: 387.2 MB / 394.5 MB, free: 13.28 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.001005/0.001005, allocations: 185.2 kB / 487 MB, free: 0.6719 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.124/1.124, allocations: 221.4 MB / 0.7819 GB, free: 6.719 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.0008691/0.0008692, allocations: 95.88 kB / 0.9213 GB, free: 43.66 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2408/0.2417, allocations: 148.6 MB / 1.066 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.7869, allocations: 142.3 MB / 1.205 GB, free: 72.79 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.9421, allocations: 153.6 MB / 1.355 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.9424, allocations: 87.91 kB / 1.355 GB, free: 9.57 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: 399 * Number of variables: 399 Notification: Performance of Generate backend data structure: time 0.06203/1.004, allocations: 28.03 MB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/1.004, allocations: 12 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/1.005, allocations: 205.6 kB / 1.383 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/1.007, allocations: 1.122 MB / 1.384 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/1.007, allocations: 59.98 kB / 1.384 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.007, allocations: 102.2 kB / 1.384 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001713/1.009, allocations: 0.9396 MB / 1.385 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/1.011, allocations: 1.287 MB / 1.387 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.011, allocations: 0 / 1.387 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-05/1.011, allocations: 4 kB / 1.387 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/1.011, allocations: 43.98 kB / 1.387 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0075/1.018, allocations: 4.854 MB / 1.391 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/1.02, allocations: 1.128 MB / 1.392 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/1.021, allocations: 432.5 kB / 1.393 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.692e-05/1.021, allocations: 19.98 kB / 1.393 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008916/1.022, allocations: 0.5675 MB / 1.393 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/1.022, allocations: 0 / 1.393 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.001412/1.023, allocations: 0.7593 MB / 1.394 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.023, allocations: 272.9 kB / 1.394 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009746/1.024, allocations: 0.7135 MB / 1.395 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.024, allocations: 53.69 kB / 1.395 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/1.025, allocations: 0.5539 MB / 1.396 GB, free: 88 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.025, allocations: 295.9 kB / 1.396 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/1.025, allocations: 4 kB / 1.396 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.025, allocations: 345.9 kB / 1.396 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/1.026, allocations: 330.6 kB / 1.397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/1.026, allocations: 0.5197 MB / 1.397 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/1.027, allocations: 298.9 kB / 1.397 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.027, allocations: 2.156 kB / 1.397 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001315/1.028, allocations: 0.8644 MB / 1.398 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.028, allocations: 0.5293 MB / 1.399 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.029, allocations: 4 kB / 1.399 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.029, allocations: 11.98 kB / 1.399 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/1.029, allocations: 231.6 kB / 1.399 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.03, allocations: 11.91 kB / 1.399 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.031, allocations: 223.4 kB / 1.399 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/1.031, allocations: 39.98 kB / 1.399 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/1.031, allocations: 4 kB / 1.399 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/1.032, allocations: 0.6951 MB / 1.4 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/1.032, allocations: 4 kB / 1.4 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/1.032, allocations: 8 kB / 1.4 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/1.033, allocations: 207.8 kB / 1.4 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/1.033, allocations: 7.984 kB / 1.4 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/1.034, allocations: 211.3 kB / 1.4 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/1.034, allocations: 32 kB / 1.4 GB, free: 11.12 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.disMinCon.enaDis.y,$PRE.disMinCon1.enaDis.y,$PRE.minCon.enaDis.y,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,disMinCon.y1MinOutDam,$PRE.disMinCon.greThr.greHys.y,disMinCon.greThr.greHys.y,$PRE.disMinCon.les.lesHys.y,disMinCon.les.lesHys.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,disMinCon.enaMinDam.u3,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,disMinCon1.y1MinOutDam,$PRE.disMinCon1.greThr.greHys.y,disMinCon1.greThr.greHys.y,$PRE.disMinCon1.les.lesHys.y,disMinCon1.les.lesHys.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,disMinCon1.enaMinDam.u3,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minCon.y1MinOutDam,$PRE.minCon.greThr.greHys.y,minCon.greThr.greHys.y,$PRE.minCon.les.lesHys.y,minCon.les.lesHys.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,minCon.enaMinDam.u3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 136 * 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.0002197/1.034, allocations: 157.9 kB / 1.401 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/1.034, allocations: 118.6 kB / 1.401 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006872/1.035, allocations: 389.9 kB / 1.401 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.035, allocations: 16 kB / 1.401 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.035, allocations: 0 / 1.401 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.035, allocations: 7.891 kB / 1.401 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/1.038, allocations: 2.517 MB / 1.403 GB, free: 7.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.038, allocations: 4 kB / 1.404 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/1.039, allocations: 215.7 kB / 1.404 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.039, allocations: 8 kB / 1.404 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/1.039, allocations: 15.97 kB / 1.404 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/1.039, allocations: 8 kB / 1.404 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.039, allocations: 7.938 kB / 1.404 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002147/1.041, allocations: 1.78 MB / 1.405 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002799/1.044, allocations: 2.645 MB / 1.408 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/1.044, allocations: 203.5 kB / 1.408 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.044, allocations: 31.98 kB / 1.408 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.045, allocations: 187.8 kB / 1.408 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/1.046, allocations: 171.6 kB / 1.409 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.094e-05/1.046, allocations: 43.97 kB / 1.409 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0006202/1.047, allocations: 0.5159 MB / 1.409 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002307/1.049, allocations: 0.505 MB / 1.41 GB, free: 1.176 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (minCon.maxRetDam.I.y,disMinCon1.maxRetDam.I.y,disMinCon.maxRetDam.I.y) * Number of discrete variables: 36 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minCon.y1MinOutDam,minCon.greThr.greHys.y,minCon.les.lesHys.y,minCon.gre.greHys.y,minCon.enaDis.u,minCon.enaDis.clr,minCon.enaDis.y,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,disMinCon1.y1MinOutDam,disMinCon1.greThr.greHys.y,disMinCon1.les.lesHys.y,disMinCon1.gre.greHys.y,disMinCon1.enaDis.u,disMinCon1.enaDis.clr,disMinCon1.enaDis.y,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,disMinCon.y1MinOutDam,disMinCon.greThr.greHys.y,disMinCon.les.lesHys.y,disMinCon.gre.greHys.y,disMinCon.enaDis.u,disMinCon.enaDis.clr,disMinCon.enaDis.y) * 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 (105): * Single equations (assignments): 102 * 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.0002808/1.049, allocations: 182.3 kB / 1.41 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00199/1.051, allocations: 1.346 MB / 1.411 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.051, allocations: 0 / 1.411 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009702/1.052, allocations: 0.559 MB / 1.412 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.053, allocations: 271.9 kB / 1.412 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/1.057, allocations: 1.879 MB / 1.414 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.058, allocations: 1.38 MB / 1.415 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/1.058, allocations: 0 / 1.415 GB, free: 11.45 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.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.SeparateWithDP_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithDP_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithDP.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe 2>&1)