Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [: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.379/2.379, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.00157/0.00157, allocations: 185.3 kB / 360.4 MB, free: 7.484 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.736/1.736, allocations: 205.1 MB / 0.6188 GB, free: 12.39 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.001289/0.001288, allocations: 89.23 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.252e-05, allocations: 0 / 0.8502 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6123/0.6124, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.723, allocations: 400.8 MB / 1.354 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.723, allocations: 84.83 kB / 1.354 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.5527/2.276, allocations: 167 MB / 1.517 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.016e-05/2.276, allocations: 8 kB / 1.517 GB, free: 8.586 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001154/2.277, allocations: 0.6575 MB / 1.518 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/2.277, allocations: 12.03 kB / 1.518 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/2.277, allocations: 39.53 kB / 1.518 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05178/2.329, allocations: 13.73 MB / 1.531 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/2.329, allocations: 8 kB / 1.531 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/2.329, allocations: 12 kB / 1.531 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003898/2.33, allocations: 92.64 kB / 1.532 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/2.33, allocations: 135.9 kB / 1.532 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/2.33, allocations: 0 / 1.532 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/2.33, allocations: 0 / 1.532 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/2.33, allocations: 7.938 kB / 1.532 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/2.332, allocations: 0.8108 MB / 1.532 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/2.332, allocations: 94.67 kB / 1.533 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/2.332, allocations: 56.84 kB / 1.533 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/2.333, allocations: 332.4 kB / 1.533 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/2.333, allocations: 34.56 kB / 1.533 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/2.333, allocations: 0 / 1.533 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0005689/2.333, allocations: 141.1 kB / 1.533 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/2.334, allocations: 55.41 kB / 1.533 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/2.334, allocations: 250 kB / 1.533 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/2.334, allocations: 29.7 kB / 1.533 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/2.334, allocations: 144.3 kB / 1.534 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/2.334, allocations: 39.61 kB / 1.534 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/2.334, allocations: 0 / 1.534 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001526/2.334, allocations: 350.7 kB / 1.534 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/2.334, allocations: 24 kB / 1.534 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/2.335, allocations: 82.86 kB / 1.534 GB, free: 7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/2.335, allocations: 47.8 kB / 1.534 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.335, allocations: 0 / 1.534 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004566/2.335, allocations: 141.2 kB / 1.534 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/2.336, allocations: 186 kB / 1.534 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/2.336, allocations: 48 / 1.534 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/2.336, allocations: 3.984 kB / 1.534 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/2.336, allocations: 31.97 kB / 1.534 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/2.336, allocations: 0 / 1.534 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/2.336, allocations: 27.89 kB / 1.534 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/2.336, allocations: 7.984 kB / 1.534 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/2.336, allocations: 5.25 kB / 1.534 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000329/2.337, allocations: 75.89 kB / 1.535 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/2.337, allocations: 0 / 1.535 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/2.337, allocations: 8.219 kB / 1.535 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/2.337, allocations: 31.98 kB / 1.535 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/2.337, allocations: 8 kB / 1.535 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/2.337, allocations: 27.77 kB / 1.535 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/2.337, allocations: 15.98 kB / 1.535 GB, free: 6.375 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.798e-05/2.337, allocations: 101 kB / 1.535 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/2.338, allocations: 35.53 kB / 1.535 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/2.338, allocations: 184.5 kB / 1.535 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/2.338, allocations: 4 kB / 1.535 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/2.338, allocations: 0 / 1.535 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/2.338, allocations: 4 kB / 1.535 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/2.339, allocations: 0.5324 MB / 1.535 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/2.34, allocations: 0 / 1.535 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/2.34, allocations: 31.92 kB / 1.536 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/2.34, allocations: 0 / 1.536 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/2.34, allocations: 7.984 kB / 1.536 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/2.34, allocations: 4.094 kB / 1.536 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.34, allocations: 3.938 kB / 1.536 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000549/2.34, allocations: 319.9 kB / 1.536 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/2.341, allocations: 116.7 kB / 1.536 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/2.341, allocations: 0 / 1.536 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/2.341, allocations: 27.83 kB / 1.536 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/2.341, allocations: 20.02 kB / 1.536 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/2.341, allocations: 4 kB / 1.536 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002864/2.341, allocations: 200.6 kB / 1.536 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008759/2.342, allocations: 163.7 kB / 1.536 GB, free: 4.516 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000738/2.343, allocations: 286.6 kB / 1.537 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00045/2.344, allocations: 150 kB / 1.537 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/2.344, allocations: 0 / 1.537 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/2.344, allocations: 63.91 kB / 1.537 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/2.345, allocations: 117.4 kB / 1.537 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/2.346, allocations: 379.3 kB / 1.537 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/2.347, allocations: 0.8309 MB / 1.538 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of SimCode: time 9.72e-07/2.347, allocations: 4 kB / 1.538 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of Templates: time 0.02065/2.367, allocations: 6.248 MB / 1.544 GB, free: 12.47 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)