Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.0/package.mo): time 3.454/3.454, allocations: 284.8 MB / 292.1 MB, free: 1.508 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002732/0.002732, allocations: 187.2 kB / 360.3 MB, free: 15.61 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.932/2.932, allocations: 205.1 MB / 0.6187 GB, free: 6.656 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002119/0.002118, allocations: 97.67 kB / 0.7317 GB, free: 46.82 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.4255/0.4277, allocations: 121.4 MB / 0.8502 GB, free: 13.64 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/1.372, allocations: 115.2 MB / 0.9628 GB, free: 86.45 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/1.718, allocations: 138.2 MB / 1.098 GB, free: 12.23 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005491/1.719, allocations: 91.92 kB / 1.098 GB, free: 12.14 MB / 0.7061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01995/1.739, allocations: 2.527 MB / 1.1 GB, free: 9.609 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 7.728e-05/1.739, allocations: 12.5 kB / 1.1 GB, free: 9.598 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/1.739, allocations: 11.47 kB / 1.1 GB, free: 9.59 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/1.74, allocations: 178.8 kB / 1.1 GB, free: 9.375 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/1.74, allocations: 7.984 kB / 1.1 GB, free: 9.367 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/1.74, allocations: 8 kB / 1.1 GB, free: 9.359 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002343/1.74, allocations: 32 kB / 1.101 GB, free: 9.328 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/1.74, allocations: 61.67 kB / 1.101 GB, free: 9.262 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.74, allocations: 0 / 1.101 GB, free: 9.262 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/1.74, allocations: 0 / 1.101 GB, free: 9.262 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.74, allocations: 0 / 1.101 GB, free: 9.262 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/1.742, allocations: 353.1 kB / 1.101 GB, free: 8.879 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/1.742, allocations: 46.56 kB / 1.101 GB, free: 8.824 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/1.742, allocations: 16.86 kB / 1.101 GB, free: 8.805 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/1.742, allocations: 5.062 kB / 1.101 GB, free: 8.801 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/1.742, allocations: 67.41 kB / 1.101 GB, free: 8.723 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=6): time 1.517e-05/1.742, allocations: 0 / 1.101 GB, free: 8.723 MB / 0.7061 GB Notification: Performance of matching and sorting (n=6): time 0.0003998/1.743, allocations: 65.62 kB / 1.101 GB, free: 8.652 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.722e-05/1.743, allocations: 55.31 kB / 1.101 GB, free: 8.586 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/1.743, allocations: 113.7 kB / 1.101 GB, free: 8.473 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/1.743, allocations: 33.7 kB / 1.101 GB, free: 8.434 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.743, allocations: 96.02 kB / 1.101 GB, free: 8.336 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/1.743, allocations: 15.81 kB / 1.101 GB, free: 8.32 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/1.743, allocations: 0 / 1.101 GB, free: 8.32 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.744, allocations: 322.8 kB / 1.102 GB, free: 7.996 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.744, allocations: 32 kB / 1.102 GB, free: 7.965 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/1.744, allocations: 68.11 kB / 1.102 GB, free: 7.887 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/1.745, allocations: 43.95 kB / 1.102 GB, free: 7.844 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.745, allocations: 0 / 1.102 GB, free: 7.844 MB / 0.7061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007527/1.746, allocations: 137.5 kB / 1.102 GB, free: 7.703 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/1.746, allocations: 10.16 kB / 1.102 GB, free: 7.695 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.746, allocations: 0 / 1.102 GB, free: 7.695 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.746, allocations: 0 / 1.102 GB, free: 7.695 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/1.746, allocations: 11.98 kB / 1.102 GB, free: 7.684 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.746, allocations: 4.062 kB / 1.102 GB, free: 7.68 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/1.747, allocations: 67.8 kB / 1.102 GB, free: 7.613 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/1.747, allocations: 4 kB / 1.102 GB, free: 7.609 MB / 0.7061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001815/1.747, allocations: 108.4 kB / 1.102 GB, free: 7.5 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/1.747, allocations: 15.84 kB / 1.102 GB, free: 7.484 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/1.747, allocations: 12.36 kB / 1.102 GB, free: 7.477 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.747, allocations: 0 / 1.102 GB, free: 7.477 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.747, allocations: 0 / 1.102 GB, free: 7.477 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.747, allocations: 4 kB / 1.102 GB, free: 7.473 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/1.747, allocations: 166.1 kB / 1.102 GB, free: 7.273 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.747, allocations: 1.688 kB / 1.102 GB, free: 7.273 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.747, allocations: 11.98 kB / 1.102 GB, free: 7.262 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.747, allocations: 4 kB / 1.102 GB, free: 7.258 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.748, allocations: 0 / 1.102 GB, free: 7.258 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.748, allocations: 0 / 1.102 GB, free: 7.258 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.748, allocations: 4 kB / 1.102 GB, free: 7.254 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002942/1.748, allocations: 92.95 kB / 1.102 GB, free: 7.145 MB / 0.7061 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001458/1.749, allocations: 482.9 kB / 1.103 GB, free: 6.652 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.75, allocations: 81.02 kB / 1.103 GB, free: 6.555 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/1.75, allocations: 3.094 kB / 1.103 GB, free: 6.555 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/1.75, allocations: 15.98 kB / 1.103 GB, free: 6.539 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.75, allocations: 15.88 kB / 1.103 GB, free: 6.523 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/1.75, allocations: 4 kB / 1.103 GB, free: 6.52 MB / 0.7061 GB Notification: Performance of sort global known variables: time 0.0001497/1.75, allocations: 96.38 kB / 1.103 GB, free: 6.426 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.002898/1.753, allocations: 28.11 kB / 1.103 GB, free: 6.398 MB / 0.7061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004478/1.754, allocations: 107.2 kB / 1.103 GB, free: 6.281 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0006311/1.754, allocations: 105.6 kB / 1.103 GB, free: 6.172 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.754, allocations: 0 / 1.103 GB, free: 6.172 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/1.755, allocations: 20 kB / 1.103 GB, free: 6.152 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/1.755, allocations: 16.8 kB / 1.103 GB, free: 6.137 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/1.756, allocations: 104.2 kB / 1.103 GB, free: 6.012 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008013/1.757, allocations: 0.7075 MB / 1.104 GB, free: 5.277 MB / 0.7061 GB Notification: Performance of SimCode: time 1.132e-06/1.757, allocations: 0 / 1.104 GB, free: 5.277 MB / 0.7061 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)