Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.819/1.819, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009787/0.0009786, allocations: 185.2 kB / 490.8 MB, free: 1.949 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.245/1.245, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0008555/0.0008552, allocations: 98.42 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4404/0.4413, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.6315, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5232/1.155, allocations: 151.9 MB / 1.36 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/1.155, allocations: 68.22 kB / 1.36 GB, free: 17.21 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.02366/1.179, allocations: 10.3 MB / 1.37 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/1.179, allocations: 11.41 kB / 1.37 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/1.179, allocations: 84.88 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/1.18, allocations: 0.5593 MB / 1.371 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/1.18, allocations: 21.52 kB / 1.371 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/1.18, allocations: 42.92 kB / 1.371 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006672/1.181, allocations: 369.4 kB / 1.371 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/1.181, allocations: 0.5106 MB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.181, allocations: 0 / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/1.181, allocations: 8.781 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/1.181, allocations: 13.75 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/1.184, allocations: 1.815 MB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/1.185, allocations: 458.7 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/1.185, allocations: 224.2 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/1.185, allocations: 9.859 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/1.185, allocations: 256.1 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 1.653e-06/1.185, allocations: 4 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0007314/1.186, allocations: 399.8 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.186, allocations: 111.1 kB / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/1.187, allocations: 350.8 kB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/1.187, allocations: 34 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.187, allocations: 247.8 kB / 1.375 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/1.187, allocations: 147.3 kB / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/1.187, allocations: 0 / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.187, allocations: 360.5 kB / 1.376 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.187, allocations: 144.2 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/1.188, allocations: 253.9 kB / 1.376 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/1.188, allocations: 157.7 kB / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.188, allocations: 0 / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006193/1.188, allocations: 436.7 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/1.189, allocations: 0.6092 MB / 1.378 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.189, allocations: 1.344 kB / 1.378 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.189, allocations: 4.953 kB / 1.378 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.189, allocations: 96.16 kB / 1.378 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.189, allocations: 3.75 kB / 1.378 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/1.189, allocations: 74.42 kB / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/1.189, allocations: 18.19 kB / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/1.189, allocations: 8.375 kB / 1.378 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005282/1.19, allocations: 333.1 kB / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.19, allocations: 1.906 kB / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/1.19, allocations: 7.969 kB / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/1.19, allocations: 81.05 kB / 1.378 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/1.19, allocations: 3.094 kB / 1.378 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/1.191, allocations: 59.11 kB / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/1.191, allocations: 19.06 kB / 1.378 GB, free: 29.15 MB / 0.8386 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.0001184/1.191, allocations: 131.1 kB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/1.191, allocations: 48.78 kB / 1.378 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/1.191, allocations: 58.16 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.191, allocations: 5.5 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.191, allocations: 4.5 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/1.191, allocations: 7.672 kB / 1.378 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/1.192, allocations: 1.125 MB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.192, allocations: 0 / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/1.193, allocations: 77 kB / 1.38 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.193, allocations: 1.969 kB / 1.38 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/1.193, allocations: 6.156 kB / 1.38 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.193, allocations: 2 kB / 1.38 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.193, allocations: 1 kB / 1.38 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009869/1.194, allocations: 0.7273 MB / 1.38 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001438/1.195, allocations: 1.338 MB / 1.382 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/1.195, allocations: 130.5 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/1.195, allocations: 12.47 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/1.196, allocations: 50.58 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.196, allocations: 54.81 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/1.196, allocations: 27.42 kB / 1.382 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002764/1.196, allocations: 262.8 kB / 1.382 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001656/1.198, allocations: 202.3 kB / 1.382 GB, free: 27.7 MB / 0.8386 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.0001845/1.198, allocations: 121 kB / 1.382 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009034/1.199, allocations: 0.6062 MB / 1.383 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.199, allocations: 0 / 1.383 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/1.199, allocations: 238.8 kB / 1.383 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/1.2, allocations: 77.81 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.201, allocations: 0.7396 MB / 1.384 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/1.202, allocations: 0.952 MB / 1.385 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.202, allocations: 0 / 1.385 GB, free: 26.59 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1)