Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.441/2.441, allocations: 248.6 MB / 255.9 MB, free: 7.062 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.00172/0.00172, allocations: 188.1 kB / 315.1 MB, free: 4.234 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.914/1.914, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001312/0.001312, allocations: 95 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4852/0.4866, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.7071, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.815, allocations: 356.1 MB / 1.231 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/1.815, allocations: 85.81 kB / 1.231 GB, free: 15.75 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.05415/1.869, allocations: 10.94 MB / 1.242 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.869, allocations: 12 kB / 1.242 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/1.869, allocations: 23.72 kB / 1.242 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/1.87, allocations: 273.3 kB / 1.242 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.87, allocations: 4 kB / 1.242 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/1.87, allocations: 4 kB / 1.242 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003712/1.871, allocations: 94.16 kB / 1.242 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/1.871, allocations: 111.2 kB / 1.242 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.871, allocations: 4 kB / 1.242 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/1.871, allocations: 0 / 1.242 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.871, allocations: 0 / 1.242 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.873, allocations: 477.6 kB / 1.243 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/1.873, allocations: 73.75 kB / 1.243 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/1.873, allocations: 59.84 kB / 1.243 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.874, allocations: 0.518 MB / 1.244 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.874, allocations: 30.56 kB / 1.244 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.625e-06/1.875, allocations: 0 / 1.244 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.006637/1.881, allocations: 466.8 kB / 1.244 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.881, allocations: 51.41 kB / 1.244 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/1.882, allocations: 187.9 kB / 1.244 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/1.882, allocations: 25.7 kB / 1.244 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/1.882, allocations: 116 kB / 1.244 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/1.882, allocations: 35.27 kB / 1.244 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/1.882, allocations: 7.875 kB / 1.244 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002202/1.882, allocations: 336.3 kB / 1.245 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/1.882, allocations: 46.8 kB / 1.245 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/1.882, allocations: 43.3 kB / 1.245 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006135/1.889, allocations: 350 kB / 1.245 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.889, allocations: 0 / 1.245 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.006371/1.895, allocations: 466.4 kB / 1.246 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.895, allocations: 4 kB / 1.246 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.895, allocations: 0 / 1.246 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.895, allocations: 4 kB / 1.246 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/1.896, allocations: 63.88 kB / 1.246 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.896, allocations: 8 kB / 1.246 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/1.896, allocations: 43.81 kB / 1.246 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/1.896, allocations: 15.91 kB / 1.246 GB, free: 3.051 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 (11): * Single equations (assignments): 11 * 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.0001181/1.896, allocations: 104.9 kB / 1.246 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/1.897, allocations: 23.72 kB / 1.246 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006537/1.903, allocations: 480.5 kB / 1.246 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/1.903, allocations: 4 kB / 1.246 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.903, allocations: 3.906 kB / 1.246 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.903, allocations: 0 / 1.246 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/1.904, allocations: 244.1 kB / 1.247 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.904, allocations: 0 / 1.247 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/1.904, allocations: 75.78 kB / 1.247 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.904, allocations: 0 / 1.247 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/1.904, allocations: 0 / 1.247 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.904, allocations: 3.938 kB / 1.247 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.904, allocations: 3.984 kB / 1.247 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006431/1.911, allocations: 0.5473 MB / 1.247 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006705/1.918, allocations: 0.9331 MB / 1.248 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.918, allocations: 114.7 kB / 1.248 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/1.918, allocations: 3.938 kB / 1.248 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005283/1.918, allocations: 43.88 kB / 1.248 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/1.919, allocations: 11.97 kB / 1.248 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/1.919, allocations: 6.688 kB / 1.248 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002098/1.919, allocations: 155.8 kB / 1.248 GB, free: 464 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001364/1.92, allocations: 67.5 kB / 1.248 GB, free: 404 kB / 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 (11): * Single equations (assignments): 11 * 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.0004323/1.921, allocations: 182.9 kB / 1.249 GB, free: 216 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004599/1.921, allocations: 115.5 kB / 1.249 GB, free: 140 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.921, allocations: 0 / 1.249 GB, free: 140 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/1.921, allocations: 65.41 kB / 1.249 GB, free: 96 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/1.922, allocations: 31.58 kB / 1.249 GB, free: 68 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3076/2.229, allocations: 245.1 kB / 1.249 GB, free: 415.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/2.23, allocations: 0.769 MB / 1.25 GB, free: 414.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.243e-06/2.23, allocations: 0 / 1.25 GB, free: 414.5 MB / 0.8542 GB