Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [: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.7889/0.7889, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001335/0.001336, allocations: 171.8 kB / 171.6 MB, free: 2.023 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.779/1.779, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001765/0.001765, allocations: 108.2 kB / 444.4 MB, free: 9.344 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.5356/0.5356, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.542/5.077, allocations: 2.123 GB / 2.789 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/5.078, allocations: 84.08 kB / 2.789 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393/6.471, allocations: 290.6 MB / 3.073 GB, free: 139.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.599e-05/6.471, allocations: 12.73 kB / 3.073 GB, free: 139.3 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.002455/6.473, allocations: 0.7574 MB / 3.073 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/6.473, allocations: 10.47 kB / 3.073 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/6.474, allocations: 56.89 kB / 3.073 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009702/6.475, allocations: 375.7 kB / 3.074 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/6.475, allocations: 47.23 kB / 3.074 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/6.475, allocations: 21.38 kB / 3.074 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006575/6.476, allocations: 274.6 kB / 3.074 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/6.476, allocations: 317.4 kB / 3.074 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/6.476, allocations: 0 / 3.074 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/6.477, allocations: 0 / 3.074 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/6.477, allocations: 15.16 kB / 3.074 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/6.479, allocations: 1.179 MB / 3.075 GB, free: 138.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/6.479, allocations: 134.3 kB / 3.076 GB, free: 138.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/6.479, allocations: 80.16 kB / 3.076 GB, free: 138.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/6.48, allocations: 121.8 kB / 3.076 GB, free: 138 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/6.48, allocations: 40.34 kB / 3.076 GB, free: 138 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 2.265e-06/6.48, allocations: 0 / 3.076 GB, free: 138 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0006978/6.481, allocations: 242.6 kB / 3.076 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/6.481, allocations: 51.41 kB / 3.076 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/6.481, allocations: 226.9 kB / 3.076 GB, free: 137.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/6.481, allocations: 36.67 kB / 3.076 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/6.481, allocations: 212 kB / 3.077 GB, free: 137.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/6.481, allocations: 63.83 kB / 3.077 GB, free: 137.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/6.481, allocations: 0 / 3.077 GB, free: 137.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000109/6.481, allocations: 336.2 kB / 3.077 GB, free: 137.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/6.481, allocations: 67.86 kB / 3.077 GB, free: 137.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/6.482, allocations: 135.9 kB / 3.077 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/6.482, allocations: 149.7 kB / 3.077 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/6.482, allocations: 3.906 kB / 3.077 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005866/6.483, allocations: 311.9 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/6.483, allocations: 4.5 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/6.483, allocations: 7.875 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/6.483, allocations: 3.938 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/6.483, allocations: 61.09 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/6.483, allocations: 10.77 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/6.483, allocations: 34.61 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/6.483, allocations: 6.719 kB / 3.078 GB, free: 137.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001113/6.483, allocations: 117.5 kB / 3.078 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/6.483, allocations: 26.56 kB / 3.078 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/6.484, allocations: 278.6 kB / 3.078 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/6.484, allocations: 0 / 3.078 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/6.484, allocations: 0 / 3.078 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/6.484, allocations: 7.594 kB / 3.078 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/6.485, allocations: 0.734 MB / 3.079 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/6.485, allocations: 3.531 kB / 3.079 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/6.485, allocations: 42.02 kB / 3.079 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/6.486, allocations: 3.656 kB / 3.079 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/6.486, allocations: 5.875 kB / 3.079 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/6.486, allocations: 7.141 kB / 3.079 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/6.486, allocations: 0 / 3.079 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008047/6.486, allocations: 0.5409 MB / 3.079 GB, free: 136.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/6.487, allocations: 136.1 kB / 3.08 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/6.487, allocations: 15.06 kB / 3.08 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/6.487, allocations: 33.59 kB / 3.08 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/6.487, allocations: 22.94 kB / 3.08 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/6.487, allocations: 14.62 kB / 3.08 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001667/6.487, allocations: 184.3 kB / 3.08 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001008/6.488, allocations: 196.4 kB / 3.08 GB, free: 136.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002572/6.491, allocations: 1.352 MB / 3.081 GB, free: 135.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004045/6.491, allocations: 174.6 kB / 3.081 GB, free: 135.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/6.491, allocations: 3.375 kB / 3.081 GB, free: 135.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/6.492, allocations: 90.56 kB / 3.082 GB, free: 135.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/6.492, allocations: 103.1 kB / 3.082 GB, free: 135.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/6.494, allocations: 0.5501 MB / 3.082 GB, free: 135.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/6.494, allocations: 0.8563 MB / 3.083 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.966e-06/6.494, allocations: 0 / 3.083 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.02378/6.518, allocations: 12.15 MB / 3.095 GB, free: 134.7 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)