Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [: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.8296/0.8296, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001179/0.001179, allocations: 174 kB / 171.6 MB, free: 1.969 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.645/1.645, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001805/0.001806, allocations: 114.5 kB / 444.4 MB, free: 9.395 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.5401/0.5401, allocations: 73.38 MB / 0.666 GB, free: 62.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.6781, allocations: 101.5 MB / 0.7651 GB, free: 2.844 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.6785, allocations: 81.34 kB / 0.7652 GB, free: 2.766 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003112/0.6816, allocations: 0.7943 MB / 0.7659 GB, free: 1.996 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.6816, allocations: 0 / 0.7659 GB, free: 1.996 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004066/0.682, allocations: 353.5 kB / 0.7663 GB, free: 1.609 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.6821, allocations: 8.031 kB / 0.7663 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.6821, allocations: 7.906 kB / 0.7663 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.6823, allocations: 174.9 kB / 0.7665 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.6823, allocations: 3.188 kB / 0.7665 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.6824, allocations: 1.406 kB / 0.7665 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/0.6825, allocations: 23.98 kB / 0.7665 GB, free: 1.359 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.973e-05/0.6826, allocations: 42.38 kB / 0.7665 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6826, allocations: 4 kB / 0.7665 GB, free: 1.309 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.6826, allocations: 3.906 kB / 0.7665 GB, free: 1.305 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.6826, allocations: 0 / 0.7665 GB, free: 1.305 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.6831, allocations: 253.4 kB / 0.7668 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.6831, allocations: 30.52 kB / 0.7668 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.6832, allocations: 18.23 kB / 0.7668 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.6832, allocations: 4 kB / 0.7668 GB, free: 0.957 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.6832, allocations: 30.56 kB / 0.7669 GB, free: 0.918 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.6833, allocations: 0 / 0.7669 GB, free: 0.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001986/0.6835, allocations: 59.47 kB / 0.7669 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.6835, allocations: 54.34 kB / 0.767 GB, free: 0.793 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.6836, allocations: 111.2 kB / 0.7671 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.6836, allocations: 25.7 kB / 0.7671 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.6837, allocations: 92.14 kB / 0.7672 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.6837, allocations: 7.891 kB / 0.7672 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.6837, allocations: 3.938 kB / 0.7672 GB, free: 0.543 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6838, allocations: 318.8 kB / 0.7675 GB, free: 228 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.6839, allocations: 8 kB / 0.7675 GB, free: 220 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.6839, allocations: 8 kB / 0.7675 GB, free: 212 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.6839, allocations: 11.98 kB / 0.7675 GB, free: 200 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6839, allocations: 0 / 0.7675 GB, free: 200 kB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.725e-05/0.684, allocations: 49.69 kB / 0.7676 GB, free: 144 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6841, allocations: 8 kB / 0.7676 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6841, allocations: 4 kB / 0.7676 GB, free: 132 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6841, allocations: 3.906 kB / 0.7676 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6842, allocations: 11.98 kB / 0.7676 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6842, allocations: 0.8594 kB / 0.7676 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.6843, allocations: 8 kB / 0.7676 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6843, allocations: 0 / 0.7676 GB, free: 108 kB / 474.7 MB 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 (3): * Single equations (assignments): 3 * 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 7.318e-05/0.6844, allocations: 109.9 kB / 0.7677 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.6844, allocations: 9.312 kB / 0.7677 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.6845, allocations: 11.92 kB / 0.7677 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6845, allocations: 1.406 kB / 0.7677 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6845, allocations: 2.25 kB / 0.7677 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6845, allocations: 4 kB / 0.7677 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.6846, allocations: 150.1 kB / 0.7679 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6847, allocations: 0 / 0.7679 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.6847, allocations: 15.98 kB / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6847, allocations: 0 / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6848, allocations: 0 / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6848, allocations: 4 kB / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6848, allocations: 0 / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001497/0.6849, allocations: 147.5 kB / 0.768 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.685, allocations: 89 kB / 0.7681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.685, allocations: 0 / 0.7681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.6851, allocations: 17.2 kB / 0.7682 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.6852, allocations: 0 / 0.7682 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.6852, allocations: 5.578 kB / 0.7682 GB, free: 15.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.131e-05/0.6852, allocations: 95.27 kB / 0.7682 GB, free: 15.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.6855, allocations: 7.906 kB / 0.7683 GB, free: 15.38 MB / 490.7 MB 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 (3): * Single equations (assignments): 3 * 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.0001471/0.6856, allocations: 99.19 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.007e-05/0.6857, allocations: 28 kB / 0.7684 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6857, allocations: 0 / 0.7684 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.6858, allocations: 11.98 kB / 0.7684 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.6859, allocations: 4 kB / 0.7684 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.6862, allocations: 81.64 kB / 0.7685 GB, free: 15.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6865, allocations: 0.6993 MB / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6865, allocations: 0 / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Templates: time 0.002307/0.6888, allocations: 489.1 kB / 0.7696 GB, free: 13.95 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)