Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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 2.501/2.501, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.003292/0.003292, allocations: 195.8 kB / 315.1 MB, free: 4.27 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.996/1.996, allocations: 205.1 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001324, allocations: 95.27 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4598/0.4612, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.6922, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/1.413, allocations: 136.1 MB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004399/1.414, allocations: 85.56 kB / 1.016 GB, free: 4.074 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0496/1.464, allocations: 10.45 MB / 1.027 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.464, allocations: 12 kB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/1.464, allocations: 31.62 kB / 1.027 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/1.465, allocations: 275.7 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/1.465, allocations: 8 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/1.465, allocations: 11.91 kB / 1.027 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/1.466, allocations: 0.735 MB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/1.467, allocations: 204.5 kB / 1.028 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.467, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/1.467, allocations: 7.922 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.467, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/1.469, allocations: 0.5669 MB / 1.028 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/1.47, allocations: 286.1 kB / 1.029 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/1.47, allocations: 96.72 kB / 1.029 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/1.47, allocations: 20.19 kB / 1.029 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/1.471, allocations: 165.5 kB / 1.029 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 5.09e-06/1.471, allocations: 0 / 1.029 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.001442/1.472, allocations: 270.3 kB / 1.029 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/1.472, allocations: 136.5 kB / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008611/1.473, allocations: 262.3 kB / 1.03 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/1.473, allocations: 25.7 kB / 1.03 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/1.474, allocations: 110.8 kB / 1.03 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/1.474, allocations: 110.1 kB / 1.03 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/1.474, allocations: 0 / 1.03 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002783/1.474, allocations: 332.1 kB / 1.03 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/1.475, allocations: 78.84 kB / 1.03 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/1.475, allocations: 119.5 kB / 1.03 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/1.476, allocations: 96.7 kB / 1.03 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.476, allocations: 0 / 1.03 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001397/1.477, allocations: 272.5 kB / 1.031 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.477, allocations: 6.656 kB / 1.031 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.477, allocations: 0 / 1.031 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.477, allocations: 48 / 1.031 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/1.478, allocations: 70.89 kB / 1.031 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.478, allocations: 3.984 kB / 1.031 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/1.479, allocations: 31.67 kB / 1.031 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/1.479, allocations: 19.25 kB / 1.031 GB, free: 7.645 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002875/1.479, allocations: 104.9 kB / 1.031 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.48, allocations: 31.62 kB / 1.031 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/1.482, allocations: 372 kB / 1.031 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.482, allocations: 8 kB / 1.031 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.482, allocations: 0 / 1.031 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.482, allocations: 3.984 kB / 1.031 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/1.483, allocations: 307.5 kB / 1.032 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.483, allocations: 0 / 1.032 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/1.483, allocations: 63.41 kB / 1.032 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/1.483, allocations: 0 / 1.032 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/1.483, allocations: 7.062 kB / 1.032 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/1.484, allocations: 4 kB / 1.032 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.484, allocations: 0 / 1.032 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001251/1.485, allocations: 321.7 kB / 1.032 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001094/1.486, allocations: 0.6692 MB / 1.033 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/1.486, allocations: 161.3 kB / 1.033 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/1.486, allocations: 0 / 1.033 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.487, allocations: 31.88 kB / 1.033 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/1.487, allocations: 19.97 kB / 1.033 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/1.487, allocations: 15.55 kB / 1.033 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003562/1.487, allocations: 219 kB / 1.033 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001413/1.489, allocations: 73.5 kB / 1.033 GB, free: 5.473 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0009484/1.49, allocations: 302.2 kB / 1.033 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006751/1.49, allocations: 220.2 kB / 1.034 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.49, allocations: 0 / 1.034 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003146/1.491, allocations: 125.8 kB / 1.034 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/1.491, allocations: 31.2 kB / 1.034 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/1.493, allocations: 415.4 kB / 1.034 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/1.493, allocations: 0.8253 MB / 1.035 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.493, allocations: 0 / 1.035 GB, free: 3.742 MB / 0.6511 GB