Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.482/2.482, allocations: 248.6 MB / 255.9 MB, free: 7.168 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.00168/0.00168, allocations: 188.2 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.95/1.95, allocations: 205.1 MB / 0.5658 GB, free: 348 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.001305/0.001304, allocations: 86.33 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5057/0.507, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.7211, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.861, allocations: 355.5 MB / 1.231 GB, free: 312 kB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/1.862, allocations: 88.12 kB / 1.231 GB, free: 260 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.03908/1.901, allocations: 9.33 MB / 1.24 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.901, allocations: 12 kB / 1.24 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/1.901, allocations: 19.72 kB / 1.24 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/1.902, allocations: 239.5 kB / 1.24 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.902, allocations: 0 / 1.24 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/1.902, allocations: 7.984 kB / 1.24 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000242/1.902, allocations: 68.8 kB / 1.24 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/1.902, allocations: 120.5 kB / 1.24 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.902, allocations: 0 / 1.24 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/1.902, allocations: 0 / 1.24 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/1.903, allocations: 11.98 kB / 1.24 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/1.905, allocations: 424.1 kB / 1.241 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/1.905, allocations: 121.1 kB / 1.241 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/1.905, allocations: 80.27 kB / 1.241 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/1.905, allocations: 7.984 kB / 1.241 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.905, allocations: 30.56 kB / 1.241 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/1.905, allocations: 0 / 1.241 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001019/1.906, allocations: 192.2 kB / 1.241 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.906, allocations: 51.41 kB / 1.241 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/1.907, allocations: 171 kB / 1.241 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.907, allocations: 29.7 kB / 1.241 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/1.907, allocations: 114.9 kB / 1.241 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/1.907, allocations: 42.05 kB / 1.241 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.907, allocations: 0 / 1.241 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.907, allocations: 325.8 kB / 1.242 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/1.907, allocations: 45.92 kB / 1.242 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/1.907, allocations: 48.97 kB / 1.242 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/1.908, allocations: 90.53 kB / 1.242 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.908, allocations: 4 kB / 1.242 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007977/1.909, allocations: 188.3 kB / 1.242 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.909, allocations: 4 kB / 1.242 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.909, allocations: 7.891 kB / 1.242 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.909, allocations: 4 kB / 1.242 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/1.909, allocations: 47.34 kB / 1.242 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.909, allocations: 0 / 1.242 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/1.91, allocations: 15.98 kB / 1.242 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/1.91, allocations: 7.984 kB / 1.242 GB, free: 6.398 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.000115/1.91, allocations: 116.8 kB / 1.242 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/1.91, allocations: 15.81 kB / 1.242 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.868e-05/1.91, allocations: 31.95 kB / 1.242 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.91, allocations: 0 / 1.242 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.91, allocations: 0 / 1.242 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.91, allocations: 7.844 kB / 1.242 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/1.911, allocations: 229.2 kB / 1.243 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.911, allocations: 0 / 1.243 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/1.911, allocations: 47.14 kB / 1.243 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/1.911, allocations: 7.906 kB / 1.243 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.911, allocations: 0 / 1.243 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/1.911, allocations: 0 / 1.243 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.911, allocations: 0 / 1.243 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009017/1.912, allocations: 294 kB / 1.243 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009484/1.913, allocations: 0.6601 MB / 1.244 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.913, allocations: 111.1 kB / 1.244 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/1.913, allocations: 0 / 1.244 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/1.914, allocations: 19.98 kB / 1.244 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/1.914, allocations: 7.984 kB / 1.244 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/1.914, allocations: 4 kB / 1.244 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001868/1.914, allocations: 143.2 kB / 1.244 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001336/1.915, allocations: 43.59 kB / 1.244 GB, free: 4.723 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.0003667/1.916, allocations: 153 kB / 1.244 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004183/1.916, allocations: 125.1 kB / 1.244 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.916, allocations: 0 / 1.244 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/1.916, allocations: 64.53 kB / 1.244 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/1.917, allocations: 27.64 kB / 1.244 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/1.918, allocations: 231 kB / 1.244 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/1.918, allocations: 0.7503 MB / 1.245 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/1.918, allocations: 0 / 1.245 GB, free: 3.418 MB / 0.8542 GB