Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.024/2.024, 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.001049/0.001049, allocations: 177.3 kB / 490.8 MB, free: 1.938 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.417/1.417, allocations: 221.4 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.0009725/0.0009729, allocations: 90.22 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6047/0.6058, allocations: 149.3 MB / 1.072 GB, free: 182.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.921, allocations: 143 MB / 1.212 GB, free: 39.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8548/1.776, allocations: 153.8 MB / 1.362 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/1.776, allocations: 88.08 kB / 1.362 GB, free: 17.56 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.06081/1.837, allocations: 19.84 MB / 1.381 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.837, allocations: 9.688 kB / 1.381 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000915/1.838, allocations: 156.6 kB / 1.382 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/1.841, allocations: 0.8105 MB / 1.382 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/1.841, allocations: 42.41 kB / 1.382 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/1.841, allocations: 78.25 kB / 1.383 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002786/1.844, allocations: 0.7744 MB / 1.383 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/1.847, allocations: 0.9908 MB / 1.384 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/1.847, allocations: 5.188 kB / 1.384 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/1.847, allocations: 1.219 kB / 1.384 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/1.847, allocations: 31.09 kB / 1.384 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006841/1.854, allocations: 3.488 MB / 1.388 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.855, allocations: 0.6955 MB / 1.388 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/1.856, allocations: 350.1 kB / 1.389 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/1.856, allocations: 8.656 kB / 1.389 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008466/1.857, allocations: 424.4 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=81): time 4.559e-06/1.857, allocations: 0 / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.001482/1.859, allocations: 0.5875 MB / 1.39 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.859, allocations: 347.7 kB / 1.39 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.86, allocations: 0.5682 MB / 1.391 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/1.86, allocations: 25.7 kB / 1.391 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/1.86, allocations: 462.4 kB / 1.391 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/1.86, allocations: 258.3 kB / 1.391 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/1.86, allocations: 0 / 1.391 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.861, allocations: 337.2 kB / 1.392 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/1.861, allocations: 213.9 kB / 1.392 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/1.862, allocations: 389.5 kB / 1.392 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/1.862, allocations: 251.1 kB / 1.392 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.862, allocations: 1.312 kB / 1.392 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00119/1.863, allocations: 0.6521 MB / 1.393 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003779/1.864, allocations: 0.7892 MB / 1.394 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.864, allocations: 6.359 kB / 1.394 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/1.864, allocations: 9.531 kB / 1.394 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/1.865, allocations: 181.4 kB / 1.394 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.865, allocations: 9.406 kB / 1.394 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007884/1.865, allocations: 146.6 kB / 1.394 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/1.865, allocations: 30.45 kB / 1.394 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/1.865, allocations: 3 kB / 1.394 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009845/1.866, allocations: 0.5195 MB / 1.395 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.866, allocations: 1.281 kB / 1.395 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.867, allocations: 10.81 kB / 1.395 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/1.867, allocations: 164.9 kB / 1.395 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.867, allocations: 9.438 kB / 1.395 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/1.868, allocations: 112.9 kB / 1.395 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/1.868, allocations: 26.5 kB / 1.395 GB, free: 23.68 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: 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.0002443/1.868, allocations: 126.3 kB / 1.395 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/1.869, allocations: 83.09 kB / 1.395 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/1.87, allocations: 0.6694 MB / 1.396 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.87, allocations: 12.75 kB / 1.396 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-05/1.87, allocations: 1.469 kB / 1.396 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.87, allocations: 5.203 kB / 1.396 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/1.874, allocations: 2.208 MB / 1.398 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.874, allocations: 6.219 kB / 1.398 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009195/1.875, allocations: 194.7 kB / 1.398 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/1.875, allocations: 9.969 kB / 1.398 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/1.875, allocations: 17.7 kB / 1.398 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/1.875, allocations: 17.5 kB / 1.398 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/1.875, allocations: 10.97 kB / 1.398 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002598/1.878, allocations: 1.711 MB / 1.4 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003456/1.881, allocations: 2.431 MB / 1.402 GB, free: 19.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/1.882, allocations: 186.8 kB / 1.403 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/1.882, allocations: 9.062 kB / 1.403 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.883, allocations: 92.77 kB / 1.403 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/1.883, allocations: 84.47 kB / 1.403 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.883, allocations: 27.53 kB / 1.403 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001089/1.884, allocations: 421.2 kB / 1.403 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003474/1.888, allocations: 403.3 kB / 1.404 GB, free: 19.35 MB / 0.8386 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.0003758/1.888, allocations: 129.4 kB / 1.404 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002474/1.891, allocations: 0.9249 MB / 1.405 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.891, allocations: 2.531 kB / 1.405 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007979/1.892, allocations: 344.5 kB / 1.405 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.894, allocations: 314.7 kB / 1.405 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/1.899, allocations: 1.537 MB / 1.407 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.901, allocations: 1.215 MB / 1.408 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.164e-06/1.901, allocations: 4 kB / 1.408 GB, free: 17.33 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1)