Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_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.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 0.6055 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009222/0.0009223, allocations: 181.2 kB / 361.1 MB, free: 15.25 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.993/0.993, allocations: 205.1 MB / 0.6195 GB, free: 5.781 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007539/0.0007539, allocations: 95.03 kB / 0.7325 GB, free: 47.26 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.1761/0.1769, allocations: 121.6 MB / 0.8513 GB, free: 12.49 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.5905, allocations: 115.3 MB / 0.9639 GB, free: 85.7 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.7215, allocations: 140.4 MB / 1.101 GB, free: 9.031 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.7218, allocations: 76.56 kB / 1.101 GB, free: 8.957 MB / 0.7058 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.04314/0.7649, allocations: 19.76 MB / 1.12 GB, free: 5.273 MB / 0.7214 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.765, allocations: 8 kB / 1.12 GB, free: 5.266 MB / 0.7214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.7653, allocations: 162 kB / 1.12 GB, free: 5.105 MB / 0.7214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7666, allocations: 0.8172 MB / 1.121 GB, free: 4.246 MB / 0.7214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.7667, allocations: 44.92 kB / 1.121 GB, free: 4.203 MB / 0.7214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.7668, allocations: 80.56 kB / 1.121 GB, free: 4.125 MB / 0.7214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/0.7683, allocations: 0.7824 MB / 1.122 GB, free: 3.34 MB / 0.7214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.7698, allocations: 1.009 MB / 1.123 GB, free: 2.289 MB / 0.7214 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7699, allocations: 0 / 1.123 GB, free: 2.289 MB / 0.7214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.7699, allocations: 3.938 kB / 1.123 GB, free: 2.285 MB / 0.7214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.77, allocations: 32 kB / 1.123 GB, free: 2.254 MB / 0.7214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.7748, allocations: 3.523 MB / 1.127 GB, free: 14.68 MB / 0.7371 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.776, allocations: 0.7243 MB / 1.127 GB, free: 13.93 MB / 0.7371 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.7765, allocations: 339.3 kB / 1.128 GB, free: 13.59 MB / 0.7371 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.7766, allocations: 15.92 kB / 1.128 GB, free: 13.57 MB / 0.7371 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005465/0.7771, allocations: 436.2 kB / 1.128 GB, free: 13.11 MB / 0.7371 GB Notification: Performance of pre-optimization done (n=81): time 2.054e-06/0.7771, allocations: 0 / 1.128 GB, free: 13.11 MB / 0.7371 GB Notification: Performance of matching and sorting (n=81): time 0.0009458/0.7781, allocations: 0.5999 MB / 1.129 GB, free: 12.5 MB / 0.7371 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.7782, allocations: 350.1 kB / 1.129 GB, free: 12.08 MB / 0.7371 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.7789, allocations: 0.5935 MB / 1.13 GB, free: 11.48 MB / 0.7371 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.7789, allocations: 25.7 kB / 1.13 GB, free: 11.45 MB / 0.7371 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.7791, allocations: 467.1 kB / 1.13 GB, free: 10.99 MB / 0.7371 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.7793, allocations: 248.2 kB / 1.13 GB, free: 10.74 MB / 0.7371 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.7793, allocations: 0 / 1.13 GB, free: 10.74 MB / 0.7371 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7795, allocations: 338.1 kB / 1.131 GB, free: 10.41 MB / 0.7371 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.7798, allocations: 221.6 kB / 1.131 GB, free: 10.19 MB / 0.7371 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.7803, allocations: 396.8 kB / 1.131 GB, free: 9.738 MB / 0.7371 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.7807, allocations: 261.1 kB / 1.131 GB, free: 9.484 MB / 0.7371 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7807, allocations: 0.8438 kB / 1.131 GB, free: 9.484 MB / 0.7371 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009783/0.7817, allocations: 0.6727 MB / 1.132 GB, free: 8.805 MB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.782, allocations: 0.7912 MB / 1.133 GB, free: 7.953 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.782, allocations: 8 kB / 1.133 GB, free: 7.945 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.782, allocations: 5.5 kB / 1.133 GB, free: 7.941 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.7827, allocations: 187.7 kB / 1.133 GB, free: 7.758 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.7828, allocations: 7.984 kB / 1.133 GB, free: 7.75 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.7834, allocations: 135.5 kB / 1.133 GB, free: 7.617 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.7834, allocations: 27.98 kB / 1.133 GB, free: 7.59 MB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.7834, allocations: 10.62 kB / 1.133 GB, free: 7.582 MB / 0.7371 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008185/0.7843, allocations: 0.5313 MB / 1.134 GB, free: 7.051 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7843, allocations: 8.031 kB / 1.134 GB, free: 7.043 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.7843, allocations: 4 kB / 1.134 GB, free: 7.039 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.7849, allocations: 163.8 kB / 1.134 GB, free: 6.879 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7849, allocations: 11.94 kB / 1.134 GB, free: 6.867 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.7855, allocations: 111.5 kB / 1.134 GB, free: 6.758 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.7855, allocations: 28 kB / 1.134 GB, free: 6.73 MB / 0.7371 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.0001353/0.7856, allocations: 116.9 kB / 1.134 GB, free: 6.609 MB / 0.7371 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.7858, allocations: 88.56 kB / 1.134 GB, free: 6.523 MB / 0.7371 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.7868, allocations: 0.6961 MB / 1.135 GB, free: 5.816 MB / 0.7371 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.7868, allocations: 8 kB / 1.135 GB, free: 5.809 MB / 0.7371 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7868, allocations: 0 / 1.135 GB, free: 5.809 MB / 0.7371 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7869, allocations: 7.984 kB / 1.135 GB, free: 5.801 MB / 0.7371 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.7894, allocations: 2.252 MB / 1.137 GB, free: 3.434 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7894, allocations: 8.094 kB / 1.137 GB, free: 3.426 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.7902, allocations: 191.6 kB / 1.137 GB, free: 3.238 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.7902, allocations: 12 kB / 1.137 GB, free: 3.227 MB / 0.7371 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.7903, allocations: 8 kB / 1.137 GB, free: 3.219 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.7903, allocations: 15.94 kB / 1.137 GB, free: 3.203 MB / 0.7371 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.7903, allocations: 11.94 kB / 1.137 GB, free: 3.191 MB / 0.7371 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001719/0.792, allocations: 1.739 MB / 1.139 GB, free: 1.203 MB / 0.7371 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002264/0.7943, allocations: 2.482 MB / 1.142 GB, free: 14.47 MB / 0.7527 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.7944, allocations: 183.8 kB / 1.142 GB, free: 14.27 MB / 0.7527 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.7946, allocations: 11.98 kB / 1.142 GB, free: 14.26 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.7952, allocations: 95.92 kB / 1.142 GB, free: 14.16 MB / 0.7527 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7953, allocations: 71.77 kB / 1.142 GB, free: 14.09 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.7954, allocations: 35.98 kB / 1.142 GB, free: 14.06 MB / 0.7527 GB Notification: Performance of sort global known variables: time 0.0004623/0.7959, allocations: 431.2 kB / 1.142 GB, free: 13.64 MB / 0.7527 GB Notification: Performance of remove unused functions: time 0.002063/0.798, allocations: 403.5 kB / 1.143 GB, free: 13.25 MB / 0.7527 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.0001842/0.7981, allocations: 142.9 kB / 1.143 GB, free: 13.1 MB / 0.7527 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.7995, allocations: 0.9411 MB / 1.144 GB, free: 12.16 MB / 0.7527 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7996, allocations: 0 / 1.144 GB, free: 12.16 MB / 0.7527 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/0.8001, allocations: 359.6 kB / 1.144 GB, free: 11.81 MB / 0.7527 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.8014, allocations: 318.9 kB / 1.144 GB, free: 11.5 MB / 0.7527 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.8042, allocations: 1.564 MB / 1.146 GB, free: 9.824 MB / 0.7527 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/0.8051, allocations: 1.229 MB / 1.147 GB, free: 8.57 MB / 0.7527 GB Notification: Performance of SimCode: time 4.41e-07/0.8052, allocations: 0 / 1.147 GB, free: 8.57 MB / 0.7527 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_maint.8.0.x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1)