Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 1.947/1.947, allocations: 248.6 MB / 255.9 MB, free: 364 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 186.4 kB / 315.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.1 MB / 0.5658 GB, free: 25.44 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.001309/0.001309, allocations: 94.33 kB / 0.67 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2747/0.276, allocations: 112.4 MB / 0.7797 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.8056, allocations: 106.2 MB / 0.8835 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/1.014, allocations: 131.6 MB / 1.012 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/1.015, allocations: 83.94 kB / 1.012 GB, free: 9.395 MB / 0.6667 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.009653/1.024, allocations: 1.958 MB / 1.014 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.024, allocations: 12 kB / 1.014 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/1.024, allocations: 7.906 kB / 1.014 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/1.025, allocations: 185.2 kB / 1.014 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.025, allocations: 4 kB / 1.014 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/1.025, allocations: 7.906 kB / 1.014 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001958/1.025, allocations: 44.22 kB / 1.014 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/1.025, allocations: 69.67 kB / 1.014 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.025, allocations: 3.938 kB / 1.014 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/1.025, allocations: 0 / 1.014 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.025, allocations: 3.984 kB / 1.014 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/1.026, allocations: 393 kB / 1.015 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/1.026, allocations: 50.52 kB / 1.015 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/1.027, allocations: 20.98 kB / 1.015 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/1.027, allocations: 0 / 1.015 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.027, allocations: 30.56 kB / 1.015 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=5): time 1.734e-06/1.027, allocations: 4 kB / 1.015 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5): time 0.0002782/1.027, allocations: 65.59 kB / 1.015 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/1.027, allocations: 59.31 kB / 1.015 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/1.027, allocations: 125.3 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.027, allocations: 25.7 kB / 1.015 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/1.027, allocations: 100.1 kB / 1.015 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/1.027, allocations: 15.8 kB / 1.015 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/1.027, allocations: 0 / 1.015 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.027, allocations: 318.8 kB / 1.015 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/1.028, allocations: 23.94 kB / 1.015 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/1.028, allocations: 27.92 kB / 1.016 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/1.028, allocations: 8 kB / 1.016 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.028, allocations: 4 kB / 1.016 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002116/1.028, allocations: 69.59 kB / 1.016 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.028, allocations: 4 kB / 1.016 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.028, allocations: 0 / 1.016 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.028, allocations: 4 kB / 1.016 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.028, allocations: 11.98 kB / 1.016 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.028, allocations: 7.906 kB / 1.016 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/1.029, allocations: 31.97 kB / 1.016 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/1.029, allocations: 4 kB / 1.016 GB, free: 5.527 MB / 0.6667 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 9.737e-05/1.029, allocations: 104.9 kB / 1.016 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.029, allocations: 7.906 kB / 1.016 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/1.029, allocations: 20.17 kB / 1.016 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.029, allocations: 0 / 1.016 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.029, allocations: 0 / 1.016 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.029, allocations: 4 kB / 1.016 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/1.029, allocations: 178 kB / 1.016 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.029, allocations: 0 / 1.016 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/1.029, allocations: 16.05 kB / 1.016 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.029, allocations: 0 / 1.016 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.029, allocations: 0 / 1.016 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.029, allocations: 4 kB / 1.016 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.029, allocations: 0 / 1.016 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002419/1.03, allocations: 170 kB / 1.016 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003537/1.03, allocations: 0.531 MB / 1.017 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/1.03, allocations: 85.02 kB / 1.017 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/1.03, allocations: 0 / 1.017 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/1.03, allocations: 39.97 kB / 1.017 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/1.031, allocations: 15.88 kB / 1.017 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/1.031, allocations: 7.984 kB / 1.017 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.904e-05/1.031, allocations: 107.2 kB / 1.017 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001125/1.032, allocations: 15.94 kB / 1.017 GB, free: 4.148 MB / 0.6667 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.0001498/1.032, allocations: 101.4 kB / 1.017 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002173/1.032, allocations: 51.92 kB / 1.017 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.032, allocations: 0 / 1.017 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/1.032, allocations: 20 kB / 1.017 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/1.033, allocations: 8.391 kB / 1.017 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/1.033, allocations: 111.5 kB / 1.017 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/1.034, allocations: 0.7217 MB / 1.018 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of SimCode: time 9.52e-07/1.034, allocations: 0 / 1.018 GB, free: 3.082 MB / 0.6667 GB