Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.296/2.296, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 189.2 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 87.81 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.272e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.598/0.598, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8912/1.489, allocations: 362.1 MB / 1.316 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/1.49, allocations: 91.3 kB / 1.317 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.03661/1.526, allocations: 9.161 MB / 1.325 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.758e-05/1.526, allocations: 2.375 kB / 1.325 GB, free: 185.3 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001011/1.527, allocations: 470.1 kB / 1.326 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.527, allocations: 8.125 kB / 1.326 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/1.528, allocations: 18.44 kB / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/1.528, allocations: 243.6 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.528, allocations: 3.922 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/1.528, allocations: 3 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002582/1.529, allocations: 72.09 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/1.529, allocations: 114.7 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.529, allocations: 0 / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/1.529, allocations: 3.984 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/1.529, allocations: 14.31 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/1.53, allocations: 443.5 kB / 1.327 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/1.531, allocations: 132 kB / 1.327 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/1.531, allocations: 81.95 kB / 1.327 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.182e-05/1.531, allocations: 7.234 kB / 1.327 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/1.531, allocations: 34.59 kB / 1.327 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.126e-06/1.531, allocations: 0 / 1.327 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0009633/1.532, allocations: 199 kB / 1.327 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/1.532, allocations: 54.19 kB / 1.327 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/1.532, allocations: 184.8 kB / 1.327 GB, free: 184 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/1.532, allocations: 29.7 kB / 1.327 GB, free: 184 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/1.532, allocations: 97.84 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/1.532, allocations: 41.23 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/1.532, allocations: 3 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/1.532, allocations: 328.5 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/1.533, allocations: 53.42 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/1.533, allocations: 47.95 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/1.533, allocations: 94.69 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.533, allocations: 4 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007778/1.534, allocations: 193.8 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.534, allocations: 9.688 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.534, allocations: 0.9844 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.534, allocations: 0 / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/1.535, allocations: 49.62 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/1.535, allocations: 1.125 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/1.535, allocations: 26.53 kB / 1.328 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/1.535, allocations: 3.422 kB / 1.328 GB, free: 183.5 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 8.938e-05/1.535, allocations: 107.5 kB / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/1.535, allocations: 25.47 kB / 1.329 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.641e-05/1.535, allocations: 23.73 kB / 1.329 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.535, allocations: 4.906 kB / 1.329 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.535, allocations: 0 / 1.329 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.535, allocations: 1.734 kB / 1.329 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/1.536, allocations: 239.4 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.536, allocations: 0 / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/1.536, allocations: 46.38 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.536, allocations: 1.031 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.536, allocations: 4.531 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.536, allocations: 0 / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.536, allocations: 3.906 kB / 1.329 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008336/1.537, allocations: 296.5 kB / 1.329 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.537, allocations: 116.1 kB / 1.329 GB, free: 183 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/1.537, allocations: 4.906 kB / 1.329 GB, free: 183 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/1.538, allocations: 14.62 kB / 1.329 GB, free: 183 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/1.538, allocations: 13.23 kB / 1.329 GB, free: 183 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.538, allocations: 4.047 kB / 1.329 GB, free: 183 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001655/1.538, allocations: 150.1 kB / 1.329 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004068/1.539, allocations: 44.08 kB / 1.329 GB, free: 182.9 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.000283/1.539, allocations: 151.4 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003883/1.539, allocations: 121.8 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.539, allocations: 0 / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/1.539, allocations: 78.17 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/1.54, allocations: 24.61 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/1.541, allocations: 238.5 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.541, allocations: 0.7564 MB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/1.541, allocations: 0 / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.007774/1.549, allocations: 2.331 MB / 1.333 GB, free: 181 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)