Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.4 MB / 139.7 MB, free: 15.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0012/0.001201, allocations: 165.9 kB / 171.6 MB, free: 2.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.664/1.664, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001877/0.001877, allocations: 131.9 kB / 444.5 MB, free: 9.363 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5594/0.5595, allocations: 73.4 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.791/4.351, allocations: 2.131 GB / 2.797 GB, free: 65.27 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/4.351, allocations: 83.95 kB / 2.797 GB, free: 65.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.4999/4.851, allocations: 91.28 MB / 2.886 GB, free: 193 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.401e-05/4.851, allocations: 24.97 kB / 2.886 GB, free: 193 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002131/4.853, allocations: 1.151 MB / 2.888 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/4.853, allocations: 11.66 kB / 2.888 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/4.855, allocations: 337.8 kB / 2.888 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/4.856, allocations: 0.5404 MB / 2.888 GB, free: 192 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/4.856, allocations: 22.56 kB / 2.888 GB, free: 192 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/4.856, allocations: 46.19 kB / 2.889 GB, free: 192 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001451/4.858, allocations: 1.023 MB / 2.89 GB, free: 192 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/4.859, allocations: 0.7155 MB / 2.89 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/4.859, allocations: 5.109 kB / 2.89 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/4.859, allocations: 3.812 kB / 2.89 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/4.859, allocations: 21.59 kB / 2.89 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/4.863, allocations: 2.321 MB / 2.892 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/4.864, allocations: 0.699 MB / 2.893 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/4.864, allocations: 272.6 kB / 2.893 GB, free: 191.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/4.865, allocations: 0.6669 MB / 2.894 GB, free: 190.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/4.866, allocations: 424.5 kB / 2.894 GB, free: 190.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 2.385e-06/4.866, allocations: 0 / 2.894 GB, free: 190.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.002157/4.868, allocations: 0.7735 MB / 2.895 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/4.868, allocations: 168 kB / 2.895 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/4.868, allocations: 464.3 kB / 2.896 GB, free: 190 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/4.869, allocations: 32.52 kB / 2.896 GB, free: 190 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/4.869, allocations: 283.9 kB / 2.896 GB, free: 189.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/4.869, allocations: 229.4 kB / 2.896 GB, free: 189.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/4.869, allocations: 3.844 kB / 2.896 GB, free: 189.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001135/4.869, allocations: 370.4 kB / 2.897 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/4.869, allocations: 224.5 kB / 2.897 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/4.87, allocations: 306 kB / 2.897 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/4.871, allocations: 363.2 kB / 2.898 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/4.871, allocations: 0 / 2.898 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002174/4.873, allocations: 0.8235 MB / 2.898 GB, free: 189.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/4.873, allocations: 4 kB / 2.898 GB, free: 189.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/4.873, allocations: 3.781 kB / 2.898 GB, free: 189.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/4.874, allocations: 80.67 kB / 2.898 GB, free: 189.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/4.875, allocations: 160.6 kB / 2.899 GB, free: 189.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/4.876, allocations: 1.38 MB / 2.9 GB, free: 188 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/4.877, allocations: 75.14 kB / 2.9 GB, free: 187.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/4.877, allocations: 30.55 kB / 2.9 GB, free: 187.9 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002836/4.877, allocations: 125.1 kB / 2.9 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/4.878, allocations: 69.12 kB / 2.9 GB, free: 187.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/4.881, allocations: 1.047 MB / 2.901 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/4.881, allocations: 8.031 kB / 2.901 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/4.881, allocations: 1.031 kB / 2.901 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/4.881, allocations: 3.891 kB / 2.901 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/4.882, allocations: 0.7488 MB / 2.902 GB, free: 187.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/4.882, allocations: 3.656 kB / 2.902 GB, free: 187.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/4.883, allocations: 169.1 kB / 2.902 GB, free: 187.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/4.883, allocations: 74.34 kB / 2.902 GB, free: 187.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/4.884, allocations: 19.06 kB / 2.902 GB, free: 187.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/4.885, allocations: 1.389 MB / 2.904 GB, free: 186.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/4.885, allocations: 2.531 kB / 2.904 GB, free: 186.3 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002244/4.887, allocations: 0.8537 MB / 2.904 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/4.888, allocations: 286.2 kB / 2.905 GB, free: 186 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/4.888, allocations: 7.25 kB / 2.905 GB, free: 186 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007424/4.889, allocations: 62.23 kB / 2.905 GB, free: 186 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/4.889, allocations: 51.44 kB / 2.905 GB, free: 186 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/4.889, allocations: 31.22 kB / 2.905 GB, free: 186 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0006003/4.89, allocations: 375.5 kB / 2.905 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001798/4.891, allocations: 393.4 kB / 2.906 GB, free: 185.8 MB / 0.6198 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003444/4.895, allocations: 1.212 MB / 2.907 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00175/4.897, allocations: 0.7491 MB / 2.908 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/4.897, allocations: 1.344 kB / 2.908 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008753/4.898, allocations: 454.1 kB / 2.908 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/4.899, allocations: 163.7 kB / 2.908 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/4.903, allocations: 1.302 MB / 2.909 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/4.905, allocations: 1.107 MB / 2.91 GB, free: 184.2 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/4.905, allocations: 0 / 2.91 GB, free: 184.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.03736/4.942, allocations: 17.71 MB / 2.928 GB, free: 179.6 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)