Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 177.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.093/1.093, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008757/0.0008757, allocations: 88.03 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3315/0.3324, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.4817, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.9174, allocations: 132.9 MB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.9176, allocations: 84.19 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.003599/0.9212, allocations: 1.393 MB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.9213, allocations: 12 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.9213, allocations: 11.81 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.9215, allocations: 167 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.9215, allocations: 4 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.9215, allocations: 11.89 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.799e-05/0.9216, allocations: 34.19 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.9217, allocations: 69.48 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.9218, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.9218, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9218, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.9223, allocations: 334.1 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/0.9223, allocations: 44.56 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.9224, allocations: 20.23 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.9224, allocations: 0 / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/0.9225, allocations: 58.03 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.9225, allocations: 4 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001487/0.9226, allocations: 60.72 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.9227, allocations: 61.45 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.9228, allocations: 112.2 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.9228, allocations: 29.7 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.9228, allocations: 95.41 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.9229, allocations: 11.44 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.9229, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.923, allocations: 318.8 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.923, allocations: 14.38 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.9231, allocations: 42.19 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.9231, allocations: 14.66 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.9231, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.9232, allocations: 76.98 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.9232, allocations: 5.031 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9232, allocations: 0.625 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.9233, allocations: 4 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.9234, allocations: 19.89 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.9234, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.9235, allocations: 31.97 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9235, allocations: 4 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.235e-05/0.9236, allocations: 105 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.9236, allocations: 7.906 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.9236, allocations: 7.75 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9236, allocations: 3.938 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9237, allocations: 7.938 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9237, allocations: 7.938 kB / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.9238, allocations: 165.2 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9238, allocations: 7.984 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.9239, allocations: 8 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9239, allocations: 0 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.9239, allocations: 3.984 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9239, allocations: 0 / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9239, allocations: 4 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001068/0.924, allocations: 90.78 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001844/0.9242, allocations: 468.2 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.9243, allocations: 84.95 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.9243, allocations: 8 kB / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.9244, allocations: 19.97 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.9245, allocations: 23.12 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.9245, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.483e-05/0.9245, allocations: 90.78 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007171/0.9252, allocations: 12 kB / 1.019 GB, free: 1.535 MB / 0.6355 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,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * 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 9.592e-05/0.9253, allocations: 108.1 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.9254, allocations: 41.81 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.9255, allocations: 0 / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.9255, allocations: 22.81 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.9257, allocations: 8.062 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.9259, allocations: 101.9 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.9262, allocations: 0.7075 MB / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9262, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)