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.SeparateWithDP.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.SeparateWithDP,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.806/1.806, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009309/0.0009309, allocations: 181.2 kB / 490.8 MB, free: 1.945 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.143/1.143, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0008339/0.0008339, allocations: 87.73 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4375/0.4384, allocations: 149.3 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.6316, allocations: 143 MB / 1.212 GB, free: 39.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.526/1.158, allocations: 154.4 MB / 1.363 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/1.158, allocations: 82 kB / 1.363 GB, free: 17.11 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: 399 * Number of variables: 399 Notification: Performance of Generate backend data structure: time 0.06684/1.225, allocations: 27.99 MB / 1.39 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.225, allocations: 12.69 kB / 1.39 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/1.226, allocations: 209.4 kB / 1.39 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/1.228, allocations: 1.116 MB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/1.228, allocations: 60.56 kB / 1.391 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/1.229, allocations: 107.4 kB / 1.391 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002383/1.231, allocations: 0.9351 MB / 1.392 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/1.234, allocations: 1.278 MB / 1.394 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/1.234, allocations: 1.188 kB / 1.394 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/1.234, allocations: 12.52 kB / 1.394 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/1.234, allocations: 37.94 kB / 1.394 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007577/1.242, allocations: 4.852 MB / 1.398 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/1.243, allocations: 1.136 MB / 1.399 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/1.244, allocations: 433.9 kB / 1.4 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.819e-05/1.244, allocations: 10.44 kB / 1.4 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008231/1.245, allocations: 0.5694 MB / 1.4 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 2.415e-06/1.245, allocations: 3.938 kB / 1.4 GB, free: 21.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=104): time 0.001435/1.246, allocations: 0.7514 MB / 1.401 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.246, allocations: 272.9 kB / 1.401 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/1.247, allocations: 0.7256 MB / 1.402 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.248, allocations: 52.31 kB / 1.402 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/1.248, allocations: 0.5509 MB / 1.403 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/1.248, allocations: 298.5 kB / 1.403 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/1.248, allocations: 0 / 1.403 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.248, allocations: 349.3 kB / 1.403 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/1.249, allocations: 333 kB / 1.404 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/1.25, allocations: 0.5212 MB / 1.404 GB, free: 19.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/1.25, allocations: 292.5 kB / 1.404 GB, free: 19.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.25, allocations: 0.8125 kB / 1.404 GB, free: 19.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001617/1.252, allocations: 0.8655 MB / 1.405 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.252, allocations: 0.5338 MB / 1.406 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.252, allocations: 1.531 kB / 1.406 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.712e-05/1.252, allocations: 6.094 kB / 1.406 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.253, allocations: 241.9 kB / 1.406 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/1.253, allocations: 5.938 kB / 1.406 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.255, allocations: 228 kB / 1.406 GB, free: 18.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.255, allocations: 37.08 kB / 1.406 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/1.255, allocations: 7.906 kB / 1.406 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001339/1.256, allocations: 0.6942 MB / 1.407 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.256, allocations: 2.5 kB / 1.407 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.256, allocations: 9.312 kB / 1.407 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/1.257, allocations: 214.4 kB / 1.407 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.257, allocations: 4 kB / 1.407 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.258, allocations: 211.3 kB / 1.407 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/1.258, allocations: 35 kB / 1.407 GB, free: 18.07 MB / 0.8386 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.0002427/1.258, allocations: 152.3 kB / 1.408 GB, free: 17.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/1.259, allocations: 118.6 kB / 1.408 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/1.259, allocations: 393.9 kB / 1.408 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.259, allocations: 8 kB / 1.408 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.259, allocations: 4 kB / 1.408 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.259, allocations: 3.984 kB / 1.408 GB, free: 17.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/1.263, allocations: 2.513 MB / 1.411 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.263, allocations: 7.906 kB / 1.411 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/1.263, allocations: 214.7 kB / 1.411 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.263, allocations: 8 kB / 1.411 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/1.263, allocations: 19.67 kB / 1.411 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/1.263, allocations: 11.98 kB / 1.411 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.264, allocations: 15.94 kB / 1.411 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00184/1.265, allocations: 1.772 MB / 1.413 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002661/1.268, allocations: 2.651 MB / 1.415 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/1.268, allocations: 201.6 kB / 1.415 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/1.268, allocations: 26.5 kB / 1.415 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.27, allocations: 195.7 kB / 1.416 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/1.27, allocations: 170.8 kB / 1.416 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.27, allocations: 46.59 kB / 1.416 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000652/1.271, allocations: 0.5122 MB / 1.416 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002743/1.273, allocations: 0.505 MB / 1.417 GB, free: 10.51 MB / 0.8386 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.0002736/1.274, allocations: 178.3 kB / 1.417 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002093/1.276, allocations: 1.338 MB / 1.418 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.276, allocations: 4 kB / 1.418 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009751/1.277, allocations: 0.5577 MB / 1.419 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.278, allocations: 273.5 kB / 1.419 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/1.282, allocations: 1.885 MB / 1.421 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.284, allocations: 1.379 MB / 1.422 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.284, allocations: 0 / 1.422 GB, free: 5.809 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe >> ../files/Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithDP_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_SeparateWithDP.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.SeparateWithDP.pipe 2>&1)