Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.424/1.424, allocations: 289.8 MB / 297.1 MB, free: 8.98 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.001043/0.001043, allocations: 181.3 kB / 366.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.067/1.067, allocations: 205.1 MB / 0.6256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 85.83 kB / 0.7396 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3697/0.3706, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.5259, allocations: 116.3 MB / 0.9727 GB, free: 31.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4207/0.9466, allocations: 139.3 MB / 1.109 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.9469, allocations: 85.81 kB / 1.109 GB, free: 16.43 MB / 0.6823 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.006528/0.9534, allocations: 2.531 MB / 1.111 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.9534, allocations: 10.03 kB / 1.111 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.9535, allocations: 10.59 kB / 1.111 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.99e-05/0.9536, allocations: 171.5 kB / 1.111 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.9536, allocations: 2.703 kB / 1.111 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.9536, allocations: 12.16 kB / 1.111 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.715e-05/0.9537, allocations: 30.12 kB / 1.112 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/0.9538, allocations: 66.53 kB / 1.112 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.9539, allocations: 5.125 kB / 1.112 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.9539, allocations: 0 / 1.112 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9539, allocations: 1.25 kB / 1.112 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.9543, allocations: 354.1 kB / 1.112 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.9544, allocations: 41.36 kB / 1.112 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.9544, allocations: 18 kB / 1.112 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.9544, allocations: 0 / 1.112 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.902e-05/0.9545, allocations: 70.5 kB / 1.112 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.9545, allocations: 5.125 kB / 1.112 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0001505/0.9547, allocations: 65.44 kB / 1.112 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.9547, allocations: 52.66 kB / 1.112 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/0.9548, allocations: 112.5 kB / 1.112 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.9548, allocations: 36.2 kB / 1.112 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.9548, allocations: 94.3 kB / 1.112 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.9549, allocations: 14.95 kB / 1.112 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.9549, allocations: 2.656 kB / 1.112 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.9549, allocations: 318.3 kB / 1.113 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.955, allocations: 37.25 kB / 1.113 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.9551, allocations: 60.34 kB / 1.113 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.9553, allocations: 42.66 kB / 1.113 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9553, allocations: 1.188 kB / 1.113 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003097/0.9556, allocations: 137.7 kB / 1.113 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.9556, allocations: 4.75 kB / 1.113 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.9556, allocations: 2.562 kB / 1.113 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.9557, allocations: 1.062 kB / 1.113 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.9558, allocations: 24.72 kB / 1.113 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.9558, allocations: 1.562 kB / 1.113 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.956, allocations: 63 kB / 1.113 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.956, allocations: 10.03 kB / 1.113 GB, free: 14.6 MB / 0.6823 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 5.244e-05/0.9561, allocations: 114.6 kB / 1.113 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.9561, allocations: 7.125 kB / 1.113 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.9561, allocations: 10.23 kB / 1.113 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9562, allocations: 0.9375 kB / 1.113 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.9562, allocations: 1.156 kB / 1.113 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9562, allocations: 0 / 1.113 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.966e-05/0.9563, allocations: 159.1 kB / 1.113 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9563, allocations: 0 / 1.113 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.9563, allocations: 19.56 kB / 1.113 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9563, allocations: 0.6562 kB / 1.113 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.9564, allocations: 1.359 kB / 1.113 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9564, allocations: 0.9062 kB / 1.113 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9564, allocations: 8.641 kB / 1.113 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001023/0.9565, allocations: 93.78 kB / 1.113 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001244/0.9566, allocations: 475.5 kB / 1.114 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.9566, allocations: 83.78 kB / 1.114 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.9567, allocations: 1.812 kB / 1.114 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.9568, allocations: 14.23 kB / 1.114 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.9568, allocations: 18 kB / 1.114 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.9568, allocations: 1.766 kB / 1.114 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-05/0.9569, allocations: 90.02 kB / 1.114 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007986/0.9577, allocations: 29.23 kB / 1.114 GB, free: 13.61 MB / 0.6823 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.0001128/0.9578, allocations: 108.7 kB / 1.114 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.958, allocations: 99.92 kB / 1.114 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.958, allocations: 0 / 1.114 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.958, allocations: 26.53 kB / 1.114 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.9582, allocations: 10.88 kB / 1.114 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.9584, allocations: 108.7 kB / 1.115 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.9587, allocations: 0.7119 MB / 1.115 GB, free: 28.69 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.9587, allocations: 0 / 1.115 GB, free: 28.69 MB / 0.698 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)