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.Common_LoopDisable.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.Common_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_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 9.1.1-maint.9.1.x/package.mo): time 1.814/1.814, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001061/0.001061, allocations: 197.2 kB / 487 MB, free: 5.305 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.203/1.203, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009399, allocations: 93.45 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5727/0.5737, allocations: 148.6 MB / 1.066 GB, free: 168 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.8271, allocations: 142.3 MB / 1.205 GB, free: 26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.54/1.367, allocations: 151.4 MB / 1.353 GB, free: 16.29 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/1.367, allocations: 81.06 kB / 1.353 GB, free: 16.29 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.02692/1.394, allocations: 12.34 MB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/1.394, allocations: 12.98 kB / 1.365 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/1.394, allocations: 102.8 kB / 1.366 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/1.395, allocations: 0.5843 MB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/1.395, allocations: 27.94 kB / 1.366 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/1.395, allocations: 51.62 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007879/1.396, allocations: 492.3 kB / 1.367 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/1.397, allocations: 0.6396 MB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.397, allocations: 0 / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/1.397, allocations: 3.984 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/1.397, allocations: 20 kB / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/1.4, allocations: 2.239 MB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/1.4, allocations: 464 kB / 1.37 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.401, allocations: 229.9 kB / 1.37 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/1.401, allocations: 15.84 kB / 1.37 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/1.401, allocations: 283 kB / 1.37 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=52): time 1.492e-06/1.401, allocations: 0 / 1.37 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52): time 0.0005679/1.402, allocations: 401.2 kB / 1.371 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.402, allocations: 239.3 kB / 1.371 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/1.402, allocations: 391.6 kB / 1.371 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/1.402, allocations: 29.64 kB / 1.371 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/1.402, allocations: 309.4 kB / 1.372 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/1.402, allocations: 165.5 kB / 1.372 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/1.402, allocations: 0 / 1.372 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/1.402, allocations: 364.2 kB / 1.372 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/1.403, allocations: 137.1 kB / 1.372 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/1.403, allocations: 252.6 kB / 1.373 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/1.403, allocations: 164 kB / 1.373 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.403, allocations: 0 / 1.373 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000533/1.404, allocations: 437.4 kB / 1.373 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.661e-05/1.404, allocations: 0.5407 MB / 1.374 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.404, allocations: 4 kB / 1.374 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/1.404, allocations: 4 kB / 1.374 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/1.404, allocations: 119.1 kB / 1.374 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.404, allocations: 4 kB / 1.374 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/1.405, allocations: 83.62 kB / 1.374 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/1.405, allocations: 19.12 kB / 1.374 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/1.405, allocations: 4 kB / 1.374 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004446/1.405, allocations: 338.6 kB / 1.374 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/1.405, allocations: 80 / 1.374 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/1.405, allocations: 4 kB / 1.374 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/1.405, allocations: 114.7 kB / 1.374 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/1.405, allocations: 11.89 kB / 1.374 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/1.406, allocations: 67.66 kB / 1.374 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/1.406, allocations: 19.55 kB / 1.374 GB, free: 4.043 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,damLim1.yEnaMinOut,damLim1.and3.u2,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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 8.807e-05/1.406, allocations: 117.7 kB / 1.375 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/1.406, allocations: 51.34 kB / 1.375 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000632/1.407, allocations: 456.7 kB / 1.375 GB, free: 3.551 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.407, allocations: 4 kB / 1.375 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.407, allocations: 4 kB / 1.375 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.407, allocations: 7.922 kB / 1.375 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/1.408, allocations: 1.393 MB / 1.376 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-06/1.408, allocations: 4 kB / 1.376 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/1.408, allocations: 123.6 kB / 1.377 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/1.408, allocations: 8 kB / 1.377 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/1.408, allocations: 11.17 kB / 1.377 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/1.408, allocations: 15.88 kB / 1.377 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.408, allocations: 4 kB / 1.377 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008518/1.409, allocations: 1.089 MB / 1.378 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001184/1.41, allocations: 1.693 MB / 1.379 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.411, allocations: 146.5 kB / 1.379 GB, free: 15.65 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/1.411, allocations: 4 kB / 1.379 GB, free: 15.65 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/1.411, allocations: 63.83 kB / 1.38 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/1.411, allocations: 49.91 kB / 1.38 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/1.411, allocations: 19.19 kB / 1.38 GB, free: 15.53 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002848/1.412, allocations: 288.7 kB / 1.38 GB, free: 15.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001754/1.413, allocations: 266.5 kB / 1.38 GB, free: 15.06 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,damLim.yEnaMinOut,damLim1.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0001561/1.413, allocations: 123.1 kB / 1.38 GB, free: 14.93 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008855/1.414, allocations: 0.5776 MB / 1.381 GB, free: 14.56 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.414, allocations: 0 / 1.381 GB, free: 14.56 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/1.415, allocations: 226.6 kB / 1.381 GB, free: 14.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/1.416, allocations: 208 kB / 1.381 GB, free: 14.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/1.418, allocations: 0.9603 MB / 1.382 GB, free: 13.32 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007078/1.418, allocations: 1.022 MB / 1.383 GB, free: 12.27 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.418, allocations: 0 / 1.383 GB, free: 12.27 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.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.Common_LoopDisable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe 2>&1)