Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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.ThermalZones.Validation.ControlLoops,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops",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.797/1.797, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001021/0.001021, allocations: 185.2 kB / 487 MB, free: 5.398 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.147/1.147, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.000862/0.000862, allocations: 97.2 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4023/0.4032, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.5883, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5024/1.091, allocations: 151.1 MB / 1.353 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/1.091, allocations: 72.45 kB / 1.353 GB, free: 15.89 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.02483/1.116, allocations: 10.28 MB / 1.363 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/1.116, allocations: 8.5 kB / 1.363 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/1.116, allocations: 88.39 kB / 1.363 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/1.117, allocations: 0.5553 MB / 1.364 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/1.117, allocations: 23.98 kB / 1.364 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/1.117, allocations: 40 kB / 1.364 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005911/1.117, allocations: 369.6 kB / 1.364 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/1.118, allocations: 0.5187 MB / 1.365 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.118, allocations: 0 / 1.365 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/1.118, allocations: 7.984 kB / 1.365 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/1.118, allocations: 15.91 kB / 1.365 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/1.12, allocations: 1.802 MB / 1.366 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/1.121, allocations: 470.8 kB / 1.367 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/1.121, allocations: 220.7 kB / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/1.121, allocations: 8.719 kB / 1.367 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/1.122, allocations: 265.4 kB / 1.367 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=51): time 1.934e-06/1.122, allocations: 0 / 1.367 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51): time 0.0005664/1.122, allocations: 402.4 kB / 1.368 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/1.122, allocations: 111.2 kB / 1.368 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/1.123, allocations: 347.6 kB / 1.368 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/1.123, allocations: 37.44 kB / 1.368 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/1.123, allocations: 249.4 kB / 1.368 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/1.123, allocations: 135.5 kB / 1.368 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/1.123, allocations: 3.938 kB / 1.368 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/1.123, allocations: 362.5 kB / 1.369 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/1.123, allocations: 135.9 kB / 1.369 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/1.123, allocations: 265.2 kB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/1.124, allocations: 145.3 kB / 1.369 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.124, allocations: 4 kB / 1.369 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005562/1.124, allocations: 432.2 kB / 1.37 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/1.124, allocations: 0.6158 MB / 1.37 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.124, allocations: 7.938 kB / 1.37 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.124, allocations: 8 kB / 1.37 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/1.125, allocations: 90.2 kB / 1.37 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.125, allocations: 7.906 kB / 1.37 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/1.125, allocations: 71.73 kB / 1.371 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/1.125, allocations: 23.56 kB / 1.371 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-06/1.125, allocations: 3.906 kB / 1.371 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004597/1.125, allocations: 342.2 kB / 1.371 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/1.125, allocations: 4 kB / 1.371 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/1.126, allocations: 4 kB / 1.371 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/1.126, allocations: 79.39 kB / 1.371 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/1.126, allocations: 7.938 kB / 1.371 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/1.126, allocations: 55.72 kB / 1.371 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/1.126, allocations: 15.81 kB / 1.371 GB, free: 6.684 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,$PRE.conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disCoo.t_next,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$PRE.conLoo.enaHeaLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.u,conLoo.disCoo.y,conLoo.disHea.u,conLoo.disHea.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0001097/1.126, allocations: 127.2 kB / 1.371 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/1.126, allocations: 47.44 kB / 1.371 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/1.126, allocations: 58.95 kB / 1.371 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.126, allocations: 7.906 kB / 1.371 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.126, allocations: 4 kB / 1.371 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.126, allocations: 0 / 1.371 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.128, allocations: 1.127 MB / 1.372 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/1.128, allocations: 7.875 kB / 1.372 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/1.128, allocations: 75.58 kB / 1.372 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.128, allocations: 4 kB / 1.372 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.128, allocations: 3.984 kB / 1.372 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.128, allocations: 4 kB / 1.372 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.128, allocations: 0 / 1.372 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000793/1.129, allocations: 0.7272 MB / 1.373 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001041/1.13, allocations: 1.342 MB / 1.375 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/1.13, allocations: 131 kB / 1.375 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.453e-05/1.13, allocations: 7.375 kB / 1.375 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/1.13, allocations: 52.08 kB / 1.375 GB, free: 3.832 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/1.13, allocations: 59.39 kB / 1.375 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/1.131, allocations: 22.98 kB / 1.375 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002102/1.131, allocations: 257.7 kB / 1.375 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00161/1.132, allocations: 203 kB / 1.375 GB, free: 3.383 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conLoo.cooCon.I.y,conLoo.heaCon.I.y) * Number of discrete variables: 20 (conLoo.disCoo.u,conLoo.disHea.u,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,conLoo.enaHeaLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.y,conLoo.disCoo.t_next,conLoo.disHea.y,conLoo.disHea.t_next,conLoo.zerCon.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 6 (conLoo.disHea.t_next,conLoo.disCoo.t_next,conLoo.zerCon1.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,conLoo.zerCon.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001442/1.133, allocations: 136.2 kB / 1.375 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007427/1.133, allocations: 0.6014 MB / 1.376 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.133, allocations: 0 / 1.376 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/1.134, allocations: 226.7 kB / 1.376 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/1.134, allocations: 81.42 kB / 1.376 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.135, allocations: 0.7427 MB / 1.377 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/1.136, allocations: 0.9499 MB / 1.378 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/1.136, allocations: 0 / 1.378 GB, free: 1.016 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1)