Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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 2.888/2.888, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001628/0.001628, allocations: 185.2 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001954/0.001954, allocations: 84.36 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4402/0.4422, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/1.376, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/1.702, allocations: 137.7 MB / 1.097 GB, free: 3.113 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000483/1.703, allocations: 89.25 kB / 1.097 GB, free: 3.027 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.01436/1.717, allocations: 1.902 MB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.692e-05/1.717, allocations: 15.94 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/1.717, allocations: 11.81 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/1.718, allocations: 186.4 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/1.718, allocations: 0 / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/1.718, allocations: 4 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003016/1.718, allocations: 48 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/1.718, allocations: 69.67 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.718, allocations: 0 / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.719, allocations: 6.453 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/1.719, allocations: 7.906 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/1.72, allocations: 382.2 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/1.721, allocations: 46.52 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/1.721, allocations: 28.98 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/1.721, allocations: 3.984 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.721, allocations: 34.92 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 4.218e-06/1.721, allocations: 0 / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0004003/1.721, allocations: 65.59 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.721, allocations: 51.41 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/1.722, allocations: 128.5 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/1.722, allocations: 25.7 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/1.722, allocations: 108 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/1.722, allocations: 15.89 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/1.722, allocations: 3.938 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.722, allocations: 322.8 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/1.722, allocations: 19.98 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.722, allocations: 17.56 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.625e-05/1.722, allocations: 12 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.722, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003213/1.723, allocations: 69.59 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.723, allocations: 12 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.723, allocations: 3.938 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.723, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/1.723, allocations: 11.98 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.723, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/1.724, allocations: 35.97 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/1.724, allocations: 1.359 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000159/1.724, allocations: 116.8 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/1.724, allocations: 7.906 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.092e-05/1.724, allocations: 16.17 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.724, allocations: 4.75 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/1.724, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.724, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/1.725, allocations: 175.9 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.725, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/1.725, allocations: 19.89 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.725, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.725, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/1.725, allocations: 3.672 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.725, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003642/1.725, allocations: 166 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005002/1.726, allocations: 0.5406 MB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/1.726, allocations: 81.53 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/1.726, allocations: 4 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/1.727, allocations: 31.97 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.727, allocations: 15.97 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.727, allocations: 4 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001296/1.727, allocations: 99.27 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002126/1.729, allocations: 19.84 kB / 1.102 GB, free: 13.9 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0002752/1.729, allocations: 103.2 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003363/1.73, allocations: 51.92 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.73, allocations: 0 / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/1.73, allocations: 24 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/1.731, allocations: 4.703 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/1.731, allocations: 120.1 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/1.732, allocations: 0.7114 MB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of SimCode: time 1.503e-06/1.732, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)