Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.803/1.803, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009261/0.0009261, allocations: 179.5 kB / 490.8 MB, free: 1.926 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.141/1.141, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008153/0.0008153, allocations: 91.16 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4417/0.4425, allocations: 149.3 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.6403, allocations: 143 MB / 1.212 GB, free: 39.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5238/1.164, allocations: 153.8 MB / 1.362 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/1.164, allocations: 82.12 kB / 1.362 GB, free: 17.18 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.06179/1.226, allocations: 27.76 MB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/1.226, allocations: 8.062 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/1.227, allocations: 229.3 kB / 1.389 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/1.229, allocations: 1.215 MB / 1.391 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/1.229, allocations: 63.95 kB / 1.391 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/1.229, allocations: 115.7 kB / 1.391 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001971/1.231, allocations: 1.098 MB / 1.392 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/1.233, allocations: 1.447 MB / 1.393 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/1.233, allocations: 1.531 kB / 1.393 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/1.233, allocations: 14.11 kB / 1.393 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/1.233, allocations: 43.19 kB / 1.393 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007353/1.241, allocations: 5.367 MB / 1.398 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/1.242, allocations: 0.9771 MB / 1.399 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/1.243, allocations: 459.8 kB / 1.4 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/1.243, allocations: 15.8 kB / 1.4 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009343/1.244, allocations: 0.6585 MB / 1.401 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=116): time 2.525e-06/1.244, allocations: 7.938 kB / 1.401 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=116): time 0.001615/1.246, allocations: 0.8534 MB / 1.401 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.246, allocations: 432.2 kB / 1.402 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.247, allocations: 0.8112 MB / 1.403 GB, free: 20.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.247, allocations: 50.33 kB / 1.403 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/1.247, allocations: 0.6158 MB / 1.403 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/1.248, allocations: 337 kB / 1.404 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/1.248, allocations: 3.938 kB / 1.404 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.248, allocations: 355.3 kB / 1.404 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/1.249, allocations: 376.1 kB / 1.404 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008305/1.249, allocations: 0.6389 MB / 1.405 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/1.25, allocations: 361 kB / 1.405 GB, free: 19.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.25, allocations: 0.75 kB / 1.405 GB, free: 19.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001694/1.252, allocations: 1.018 MB / 1.406 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/1.252, allocations: 0.7996 MB / 1.407 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.252, allocations: 2.469 kB / 1.407 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.252, allocations: 7.219 kB / 1.407 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.253, allocations: 263.7 kB / 1.407 GB, free: 18.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.253, allocations: 7.156 kB / 1.407 GB, free: 18.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/1.254, allocations: 266.3 kB / 1.408 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/1.255, allocations: 38.09 kB / 1.408 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/1.255, allocations: 8.344 kB / 1.408 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/1.256, allocations: 0.8373 MB / 1.408 GB, free: 17.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.256, allocations: 4 kB / 1.408 GB, free: 17.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/1.256, allocations: 12.09 kB / 1.408 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/1.257, allocations: 234.1 kB / 1.409 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.257, allocations: 15.98 kB / 1.409 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.258, allocations: 235.2 kB / 1.409 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/1.258, allocations: 40.88 kB / 1.409 GB, free: 17.11 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.0002776/1.258, allocations: 156.2 kB / 1.409 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/1.258, allocations: 130.4 kB / 1.409 GB, free: 16.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/1.26, allocations: 0.9607 MB / 1.41 GB, free: 16.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.26, allocations: 12 kB / 1.41 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.26, allocations: 0 / 1.41 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.26, allocations: 3.984 kB / 1.41 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/1.263, allocations: 2.657 MB / 1.413 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.263, allocations: 7.984 kB / 1.413 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/1.264, allocations: 246.6 kB / 1.413 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.264, allocations: 19.91 kB / 1.413 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.152e-05/1.264, allocations: 19.84 kB / 1.413 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.264, allocations: 8 kB / 1.413 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.264, allocations: 15.88 kB / 1.413 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002318/1.266, allocations: 2.028 MB / 1.415 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003093/1.269, allocations: 2.952 MB / 1.418 GB, free: 9.973 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/1.269, allocations: 219.9 kB / 1.418 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/1.27, allocations: 36.42 kB / 1.418 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.271, allocations: 207.8 kB / 1.418 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.271, allocations: 191.6 kB / 1.419 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/1.271, allocations: 50.09 kB / 1.419 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007027/1.272, allocations: 0.5783 MB / 1.419 GB, free: 8.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002628/1.275, allocations: 0.5859 MB / 1.42 GB, free: 8.344 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.0002455/1.275, allocations: 172.8 kB / 1.42 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002352/1.277, allocations: 1.536 MB / 1.421 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.277, allocations: 384 / 1.421 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.279, allocations: 0.7006 MB / 1.422 GB, free: 6.766 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.28, allocations: 317.4 kB / 1.422 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/1.284, allocations: 2.138 MB / 1.424 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.286, allocations: 1.465 MB / 1.426 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.286, allocations: 0 / 1.426 GB, free: 3.078 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe >> ../files/Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithAFMS_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithAFMS.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithAFMS.pipe 2>&1)