Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.221/2.221, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001689/0.001689, allocations: 185.2 kB / 315.1 MB, free: 4.262 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.183/2.183, allocations: 205.1 MB / 0.5658 GB, free: 336 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.001738/0.001738, allocations: 90.81 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4637/0.4655, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.6952, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6323/1.328, allocations: 132.4 MB / 1.013 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.328, allocations: 86.22 kB / 1.013 GB, free: 7.652 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003816/1.332, allocations: 0.8645 MB / 1.014 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.332, allocations: 15.94 kB / 1.014 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/1.332, allocations: 0 / 1.014 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/1.332, allocations: 166.9 kB / 1.014 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/1.332, allocations: 8 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/1.332, allocations: 0 / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.953e-05/1.332, allocations: 7.75 kB / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.37e-05/1.332, allocations: 37.62 kB / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.332, allocations: 0 / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.332, allocations: 7.188 kB / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.332, allocations: 0 / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/1.333, allocations: 238.4 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/1.333, allocations: 26.27 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/1.333, allocations: 8.859 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/1.333, allocations: 0 / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.333, allocations: 34.19 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.597e-06/1.333, allocations: 0 / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/1.333, allocations: 53.22 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/1.333, allocations: 55.41 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/1.333, allocations: 89 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/1.333, allocations: 32.27 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/1.333, allocations: 80.14 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/1.333, allocations: 7.906 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/1.333, allocations: 0 / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.334, allocations: 314.8 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/1.334, allocations: 11.66 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/1.334, allocations: 0 / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/1.334, allocations: 7.125 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.334, allocations: 0 / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/1.334, allocations: 49.09 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.334, allocations: 8 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.334, allocations: 0 / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/1.334, allocations: 0 / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/1.334, allocations: 8.094 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/1.334, allocations: 0 / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/1.334, allocations: 4 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/1.334, allocations: 0 / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.79e-05/1.334, allocations: 109 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/1.334, allocations: 3.906 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/1.334, allocations: 7.578 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.334, allocations: 0 / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.334, allocations: 4 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.334, allocations: 4 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/1.335, allocations: 142 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.335, allocations: 3.938 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/1.335, allocations: 7.984 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.335, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/1.335, allocations: 0.875 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.335, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.335, allocations: 4 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000154/1.335, allocations: 146.1 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002725/1.335, allocations: 0.5071 MB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/1.335, allocations: 81.09 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/1.335, allocations: 4 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/1.335, allocations: 7.562 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/1.335, allocations: 4 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/1.335, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.705e-05/1.336, allocations: 88.83 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001086/1.337, allocations: 7.906 kB / 1.016 GB, free: 4.297 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001266/1.337, allocations: 95.25 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001185/1.337, allocations: 15.38 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.337, allocations: 4.062 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/1.337, allocations: 4 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/1.337, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/1.337, allocations: 66.34 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.338, allocations: 0.6925 MB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/1.338, allocations: 0 / 1.017 GB, free: 3.375 MB / 0.6355 GB