Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.375/2.375, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.002517/0.002517, allocations: 180.2 kB / 315.1 MB, free: 4.301 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.921/1.921, allocations: 205.1 MB / 0.5658 GB, free: 316 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.001383/0.001383, allocations: 99.97 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4761/0.4775, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.7038, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.726, allocations: 355.6 MB / 1.231 GB, free: 316 kB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.727, allocations: 86.38 kB / 1.231 GB, free: 268 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.04899/1.776, allocations: 9.467 MB / 1.24 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.776, allocations: 8 kB / 1.24 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/1.776, allocations: 19.72 kB / 1.24 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/1.777, allocations: 243.4 kB / 1.24 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/1.777, allocations: 4 kB / 1.24 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/1.777, allocations: 0 / 1.24 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003505/1.777, allocations: 71.86 kB / 1.24 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/1.778, allocations: 126.6 kB / 1.241 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.778, allocations: 0 / 1.241 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.778, allocations: 0 / 1.241 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/1.778, allocations: 11.5 kB / 1.241 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/1.779, allocations: 440.7 kB / 1.241 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/1.779, allocations: 130 kB / 1.241 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/1.779, allocations: 85.75 kB / 1.241 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/1.779, allocations: 7.984 kB / 1.241 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.78, allocations: 33.44 kB / 1.241 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.676e-06/1.78, allocations: 0 / 1.241 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0009881/1.781, allocations: 200.6 kB / 1.241 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/1.781, allocations: 51.41 kB / 1.241 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/1.781, allocations: 186.5 kB / 1.242 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/1.781, allocations: 29.7 kB / 1.242 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/1.781, allocations: 110.5 kB / 1.242 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/1.781, allocations: 40.92 kB / 1.242 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/1.781, allocations: 0 / 1.242 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.781, allocations: 324.8 kB / 1.242 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/1.781, allocations: 53.78 kB / 1.242 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/1.782, allocations: 47.86 kB / 1.242 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/1.782, allocations: 97.08 kB / 1.242 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.782, allocations: 4 kB / 1.242 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008274/1.783, allocations: 199.6 kB / 1.242 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.783, allocations: 4 kB / 1.242 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.783, allocations: 0 / 1.242 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.783, allocations: 0 / 1.242 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/1.784, allocations: 51.33 kB / 1.243 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.784, allocations: 0 / 1.243 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/1.784, allocations: 23.92 kB / 1.243 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/1.784, allocations: 3.906 kB / 1.243 GB, free: 6.234 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.0001193/1.784, allocations: 109 kB / 1.243 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/1.784, allocations: 19.81 kB / 1.243 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-05/1.784, allocations: 24 kB / 1.243 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.784, allocations: 4 kB / 1.243 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.784, allocations: 0 / 1.243 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.784, allocations: 7.922 kB / 1.243 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/1.785, allocations: 232.9 kB / 1.243 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.785, allocations: 4 kB / 1.243 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/1.785, allocations: 47.89 kB / 1.243 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.785, allocations: 4 kB / 1.243 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.786, allocations: 0 / 1.243 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.786, allocations: 0 / 1.243 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.786, allocations: 0 / 1.243 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001012/1.787, allocations: 297 kB / 1.243 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001444/1.788, allocations: 0.6773 MB / 1.244 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/1.788, allocations: 107.8 kB / 1.244 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/1.788, allocations: 7.922 kB / 1.244 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/1.789, allocations: 23.89 kB / 1.244 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/1.789, allocations: 7.984 kB / 1.244 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/1.789, allocations: 4 kB / 1.244 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000206/1.789, allocations: 149 kB / 1.244 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00123/1.79, allocations: 32 kB / 1.244 GB, free: 4.547 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.0003337/1.791, allocations: 156.2 kB / 1.244 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004413/1.791, allocations: 128.9 kB / 1.245 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.791, allocations: 7.562 kB / 1.245 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/1.791, allocations: 65.28 kB / 1.245 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/1.792, allocations: 22.92 kB / 1.245 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/1.793, allocations: 248.9 kB / 1.245 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/1.793, allocations: 0.7494 MB / 1.246 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of SimCode: time 1.172e-06/1.794, allocations: 4 kB / 1.246 GB, free: 3.215 MB / 0.8542 GB