Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.286/1.286, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 177.2 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9912/0.9912, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000751/0.000751, allocations: 93.91 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1707/0.1715, allocations: 121.4 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.5678, allocations: 115.3 MB / 0.9638 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.6933, allocations: 138.4 MB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.6935, allocations: 89.77 kB / 1.099 GB, free: 1.523 MB / 0.698 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.006654/0.7002, allocations: 2.531 MB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.7002, allocations: 8 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.7003, allocations: 11.91 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.7004, allocations: 176.4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.7004, allocations: 0 / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.7004, allocations: 8.562 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.591e-05/0.7005, allocations: 32 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.7006, allocations: 65.61 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.7006, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.7007, allocations: 8 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.7007, allocations: 0.6094 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.7012, allocations: 350.5 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.7012, allocations: 43.17 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.7013, allocations: 20.8 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.7013, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.543e-05/0.7014, allocations: 67.41 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.7014, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001567/0.7015, allocations: 62.28 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.7016, allocations: 67.31 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.7017, allocations: 116.5 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.7017, allocations: 25.7 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.7017, allocations: 104 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.7018, allocations: 7.812 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.7018, allocations: 4 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.7019, allocations: 318.8 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.7019, allocations: 36 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.702, allocations: 67.42 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.7022, allocations: 42.06 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7022, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003128/0.7026, allocations: 133.5 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.7026, allocations: 8.094 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7026, allocations: 4 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.7026, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.7027, allocations: 11.98 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.7027, allocations: 5.938 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.7029, allocations: 67.8 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.703, allocations: 8 kB / 1.103 GB, free: 13.02 MB / 0.7136 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 7.732e-05/0.7031, allocations: 109 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.7031, allocations: 3.906 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.7031, allocations: 13.11 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7031, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7031, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7031, allocations: 4 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.7032, allocations: 166.1 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7033, allocations: 0 / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.7033, allocations: 15.98 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7033, allocations: 3.938 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7033, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7034, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.7034, allocations: 0.5625 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001103/0.7035, allocations: 103.2 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001739/0.7037, allocations: 469.4 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.7037, allocations: 85.02 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.7037, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.7038, allocations: 19.98 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.7039, allocations: 20.72 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7039, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.879e-05/0.7039, allocations: 89.25 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007456/0.7047, allocations: 32.11 kB / 1.104 GB, free: 11.82 MB / 0.7136 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.0001247/0.7048, allocations: 119.7 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.705, allocations: 99.75 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.705, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.705, allocations: 27.94 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.7052, allocations: 8.734 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.7055, allocations: 106.2 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.7057, allocations: 0.7115 MB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7057, allocations: 0 / 1.105 GB, free: 10.69 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)