Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",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 8.1.4-maint.8.1.x/package.mo): time 1.388/1.388, allocations: 289.8 MB / 297.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009644/0.0009646, allocations: 177.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007605/0.0007606, allocations: 91.02 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1964/0.1972, allocations: 122.5 MB / 0.8592 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.6621, allocations: 116.3 MB / 0.9727 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.8116, allocations: 141.4 MB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.8119, allocations: 85.19 kB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.04599/0.8579, allocations: 19.74 MB / 1.13 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8579, allocations: 8 kB / 1.13 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/0.8584, allocations: 162 kB / 1.13 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.8599, allocations: 0.8223 MB / 1.131 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.86, allocations: 40 kB / 1.131 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.8601, allocations: 76 kB / 1.131 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/0.8617, allocations: 0.7901 MB / 1.132 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.8633, allocations: 1.005 MB / 1.133 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.8634, allocations: 4 kB / 1.133 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.8635, allocations: 0 / 1.133 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.8635, allocations: 35.94 kB / 1.133 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/0.8686, allocations: 3.516 MB / 1.136 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.8698, allocations: 0.7294 MB / 1.137 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.8703, allocations: 330.9 kB / 1.137 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.519e-05/0.8704, allocations: 12 kB / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.8709, allocations: 428.8 kB / 1.138 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=81): time 3.226e-06/0.871, allocations: 3.984 kB / 1.138 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81): time 0.000979/0.8719, allocations: 0.6028 MB / 1.138 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.8721, allocations: 346.1 kB / 1.139 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.8728, allocations: 0.5974 MB / 1.139 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.8728, allocations: 26.73 kB / 1.139 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.8731, allocations: 463.3 kB / 1.14 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.8732, allocations: 256.2 kB / 1.14 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.8733, allocations: 0 / 1.14 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8734, allocations: 334.1 kB / 1.14 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.8738, allocations: 229.5 kB / 1.141 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.8743, allocations: 392.8 kB / 1.141 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.8747, allocations: 256.4 kB / 1.141 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8747, allocations: 0 / 1.141 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009948/0.8757, allocations: 0.6761 MB / 1.142 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.876, allocations: 0.7867 MB / 1.143 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.876, allocations: 11.94 kB / 1.143 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.876, allocations: 4 kB / 1.143 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/0.8768, allocations: 187.8 kB / 1.143 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.8768, allocations: 11.94 kB / 1.143 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.8774, allocations: 139.4 kB / 1.143 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.8775, allocations: 27.98 kB / 1.143 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.8775, allocations: 8.844 kB / 1.143 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008376/0.8784, allocations: 0.5234 MB / 1.144 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8784, allocations: 12.02 kB / 1.144 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.8784, allocations: 4 kB / 1.144 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.8791, allocations: 167.7 kB / 1.144 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.8791, allocations: 10.11 kB / 1.144 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.8796, allocations: 107.5 kB / 1.144 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.8797, allocations: 27.98 kB / 1.144 GB, free: 4.684 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0001869/0.8799, allocations: 129.8 kB / 1.144 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.88, allocations: 86.88 kB / 1.144 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.8812, allocations: 0.6884 MB / 1.145 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.8813, allocations: 8 kB / 1.145 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8813, allocations: 3.984 kB / 1.145 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.8813, allocations: 7.984 kB / 1.145 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.8841, allocations: 2.242 MB / 1.147 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.8841, allocations: 8.094 kB / 1.147 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.8849, allocations: 195.6 kB / 1.147 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.8849, allocations: 12 kB / 1.147 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.8849, allocations: 11.98 kB / 1.147 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.885, allocations: 15.94 kB / 1.147 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.885, allocations: 11.94 kB / 1.147 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001796/0.8868, allocations: 1.736 MB / 1.149 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002301/0.8891, allocations: 2.484 MB / 1.151 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.8893, allocations: 179.8 kB / 1.152 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.8894, allocations: 19.98 kB / 1.152 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.8901, allocations: 87.94 kB / 1.152 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.8902, allocations: 75.75 kB / 1.152 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.8903, allocations: 28 kB / 1.152 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0004983/0.8908, allocations: 443.2 kB / 1.152 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002234/0.893, allocations: 401.6 kB / 1.153 GB, free: 11.19 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 87 * 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.0001905/0.8932, allocations: 146.9 kB / 1.153 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.8946, allocations: 0.9389 MB / 1.154 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8946, allocations: 3.938 kB / 1.154 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.8951, allocations: 357 kB / 1.154 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.8966, allocations: 318.9 kB / 1.154 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.8996, allocations: 1.563 MB / 1.156 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009363/0.9005, allocations: 1.226 MB / 1.157 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of SimCode: time 3e-07/0.9005, allocations: 0 / 1.157 GB, free: 6.496 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1)