Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [: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.269/2.269, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001655/0.001655, allocations: 185.2 kB / 360.4 MB, free: 7.523 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.729/1.729, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001272/0.001272, allocations: 88.5 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.479e-05, allocations: 4 kB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.6826, allocations: 115.2 MB / 0.9628 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.504, allocations: 2.073 GB / 3.035 GB, free: 343.2 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/5.504, allocations: 90.78 kB / 3.035 GB, free: 343.2 MB / 1.104 GB Notification: Performance of FrontEnd: time 0.2412/5.745, allocations: 64.99 MB / 3.099 GB, free: 329.4 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0001491/5.745, allocations: 23.66 kB / 3.099 GB, free: 329.4 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003633/5.749, allocations: 1.126 MB / 3.1 GB, free: 328.5 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/5.749, allocations: 13.06 kB / 3.1 GB, free: 328.5 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/5.751, allocations: 200.1 kB / 3.1 GB, free: 328.4 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/5.753, allocations: 0.6318 MB / 3.101 GB, free: 328 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/5.753, allocations: 29.84 kB / 3.101 GB, free: 328 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/5.753, allocations: 47.78 kB / 3.101 GB, free: 328 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003116/5.757, allocations: 0.9851 MB / 3.102 GB, free: 327.8 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/5.759, allocations: 0.7221 MB / 3.103 GB, free: 327.5 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/5.759, allocations: 0.5938 kB / 3.103 GB, free: 327.5 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/5.759, allocations: 2.25 kB / 3.103 GB, free: 327.5 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/5.759, allocations: 22.78 kB / 3.103 GB, free: 327.5 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007104/5.766, allocations: 2.324 MB / 3.105 GB, free: 326.3 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/5.768, allocations: 0.6605 MB / 3.106 GB, free: 326.2 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006764/5.769, allocations: 246.6 kB / 3.106 GB, free: 326.2 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/5.769, allocations: 113.1 kB / 3.106 GB, free: 326.1 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009679/5.77, allocations: 392.2 kB / 3.106 GB, free: 325.9 MB / 1.104 GB Notification: Performance of pre-optimization done (n=73): time 3.266e-06/5.77, allocations: 0 / 3.106 GB, free: 325.9 MB / 1.104 GB Notification: Performance of matching and sorting (n=73): time 0.003148/5.773, allocations: 0.6727 MB / 3.107 GB, free: 325.7 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/5.773, allocations: 249 kB / 3.107 GB, free: 325.4 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/5.775, allocations: 0.5446 MB / 3.108 GB, free: 325.3 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/5.775, allocations: 27.2 kB / 3.108 GB, free: 325.2 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/5.775, allocations: 298.2 kB / 3.108 GB, free: 325 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/5.776, allocations: 233.6 kB / 3.108 GB, free: 324.9 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/5.776, allocations: 0.6875 kB / 3.108 GB, free: 324.9 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001492/5.776, allocations: 380.8 kB / 3.109 GB, free: 324.5 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/5.776, allocations: 202.9 kB / 3.109 GB, free: 324.5 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/5.777, allocations: 297.1 kB / 3.109 GB, free: 324.4 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/5.778, allocations: 259.1 kB / 3.109 GB, free: 324.3 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/5.778, allocations: 0 / 3.109 GB, free: 324.3 MB / 1.104 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003098/5.781, allocations: 0.6749 MB / 3.11 GB, free: 324.2 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/5.781, allocations: 5.25 kB / 3.11 GB, free: 324.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/5.781, allocations: 1.219 kB / 3.11 GB, free: 324.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/5.783, allocations: 89.55 kB / 3.11 GB, free: 324.1 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/5.784, allocations: 137.3 kB / 3.11 GB, free: 324.1 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/5.787, allocations: 1.462 MB / 3.112 GB, free: 322.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/5.788, allocations: 66.58 kB / 3.112 GB, free: 322.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/5.788, allocations: 36.25 kB / 3.112 GB, free: 322.8 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002647/5.789, allocations: 126 kB / 3.112 GB, free: 322.6 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/5.789, allocations: 76.31 kB / 3.112 GB, free: 322.6 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/5.793, allocations: 0.9353 MB / 3.113 GB, free: 322.3 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/5.793, allocations: 13.41 kB / 3.113 GB, free: 322.3 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/5.793, allocations: 3.938 kB / 3.113 GB, free: 322.3 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/5.793, allocations: 3.984 kB / 3.113 GB, free: 322.3 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/5.795, allocations: 0.779 MB / 3.114 GB, free: 321.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/5.795, allocations: 0.8438 kB / 3.114 GB, free: 321.9 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/5.796, allocations: 152.4 kB / 3.114 GB, free: 321.9 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/5.797, allocations: 85.12 kB / 3.114 GB, free: 321.8 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/5.798, allocations: 13.89 kB / 3.114 GB, free: 321.8 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/5.8, allocations: 1.493 MB / 3.115 GB, free: 320.5 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/5.8, allocations: 0 / 3.115 GB, free: 320.5 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003209/5.804, allocations: 0.7796 MB / 3.116 GB, free: 320.3 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008081/5.804, allocations: 282 kB / 3.116 GB, free: 320.1 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/5.805, allocations: 1.656 kB / 3.116 GB, free: 320.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/5.806, allocations: 68.38 kB / 3.116 GB, free: 320.1 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/5.806, allocations: 50.7 kB / 3.116 GB, free: 320.1 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/5.806, allocations: 31.31 kB / 3.116 GB, free: 320.1 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.0009166/5.807, allocations: 445.9 kB / 3.117 GB, free: 319.9 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.00174/5.809, allocations: 312.8 kB / 3.117 GB, free: 319.8 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002445/5.811, allocations: 1.051 MB / 3.118 GB, free: 319.3 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.002465/5.814, allocations: 0.6509 MB / 3.119 GB, free: 319.1 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/5.814, allocations: 0.75 kB / 3.119 GB, free: 319.1 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/5.815, allocations: 456.4 kB / 3.119 GB, free: 318.9 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/5.817, allocations: 235.6 kB / 3.119 GB, free: 318.7 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/5.824, allocations: 1.378 MB / 3.121 GB, free: 317.5 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/5.825, allocations: 1.14 MB / 3.122 GB, free: 316.3 MB / 1.104 GB Notification: Performance of SimCode: time 1.252e-06/5.825, allocations: 0 / 3.122 GB, free: 316.3 MB / 1.104 GB Notification: Performance of Templates: time 0.04311/5.869, allocations: 17.04 MB / 3.139 GB, free: 299.3 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)