Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.8 MB / 297.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 184.1 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 0.6256 GB, free: 7.473 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 97.69 kB / 0.7396 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.839e-06, allocations: 4 kB / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7512, allocations: 116.3 MB / 0.9726 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9985/1.75, allocations: 402 MB / 1.365 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.75, allocations: 88.2 kB / 1.365 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.3138/2.064, allocations: 167 MB / 1.528 GB, free: 500 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.687e-05/2.064, allocations: 15.98 kB / 1.528 GB, free: 484 kB / 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.001842/2.066, allocations: 0.6731 MB / 1.529 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/2.066, allocations: 8.031 kB / 1.529 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/2.066, allocations: 39.53 kB / 1.529 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03638/2.103, allocations: 13.72 MB / 1.542 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/2.103, allocations: 4 kB / 1.542 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/2.103, allocations: 12 kB / 1.542 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002449/2.103, allocations: 96.64 kB / 1.542 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/2.103, allocations: 127.9 kB / 1.543 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/2.103, allocations: 3.984 kB / 1.543 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/2.103, allocations: 0 / 1.543 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/2.103, allocations: 7.938 kB / 1.543 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/2.105, allocations: 0.8133 MB / 1.543 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/2.105, allocations: 94.67 kB / 1.543 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.505e-05/2.105, allocations: 48.84 kB / 1.544 GB, free: 500 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/2.105, allocations: 348.4 kB / 1.544 GB, free: 76 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/2.105, allocations: 34.5 kB / 1.544 GB, free: 32 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/2.105, allocations: 0 / 1.544 GB, free: 32 kB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0004699/2.106, allocations: 137.2 kB / 1.544 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/2.106, allocations: 51.41 kB / 1.544 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/2.106, allocations: 250.1 kB / 1.544 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/2.106, allocations: 29.7 kB / 1.544 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/2.106, allocations: 140.3 kB / 1.544 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/2.106, allocations: 47.61 kB / 1.545 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/2.106, allocations: 0 / 1.545 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000159/2.107, allocations: 342.7 kB / 1.545 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.124e-05/2.107, allocations: 28 kB / 1.545 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/2.107, allocations: 82.8 kB / 1.545 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/2.107, allocations: 47.88 kB / 1.545 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/2.107, allocations: 0 / 1.545 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002998/2.107, allocations: 149.2 kB / 1.545 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/2.107, allocations: 178 kB / 1.545 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/2.107, allocations: 0 / 1.545 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/2.107, allocations: 4 kB / 1.545 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/2.108, allocations: 31.92 kB / 1.545 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/2.108, allocations: 0 / 1.545 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/2.108, allocations: 31.88 kB / 1.545 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/2.108, allocations: 8 kB / 1.545 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/2.108, allocations: 6.5 kB / 1.545 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002013/2.108, allocations: 75.89 kB / 1.545 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-06/2.108, allocations: 0 / 1.545 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/2.108, allocations: 4 kB / 1.545 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/2.108, allocations: 32.06 kB / 1.545 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-06/2.108, allocations: 4 kB / 1.545 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/2.108, allocations: 27.83 kB / 1.546 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/2.108, allocations: 15.97 kB / 1.546 GB, free: 14.26 MB / 0.8855 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 8.716e-05/2.109, allocations: 112.9 kB / 1.546 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/2.109, allocations: 31.53 kB / 1.546 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/2.109, allocations: 190.2 kB / 1.546 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/2.109, allocations: 4 kB / 1.546 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/2.109, allocations: 0 / 1.546 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/2.109, allocations: 0 / 1.546 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/2.11, allocations: 0.5401 MB / 1.546 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/2.11, allocations: 0 / 1.546 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/2.11, allocations: 27.98 kB / 1.546 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/2.11, allocations: 4 kB / 1.546 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/2.11, allocations: 0 / 1.546 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/2.11, allocations: 0 / 1.546 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/2.11, allocations: 4 kB / 1.546 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003785/2.11, allocations: 323.9 kB / 1.547 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/2.111, allocations: 112.7 kB / 1.547 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/2.111, allocations: 8 kB / 1.547 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/2.111, allocations: 27.81 kB / 1.547 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/2.111, allocations: 11.98 kB / 1.547 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/2.111, allocations: 8 kB / 1.547 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0001822/2.111, allocations: 200.6 kB / 1.547 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006047/2.112, allocations: 159.7 kB / 1.547 GB, free: 12.39 MB / 0.8855 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.0006046/2.112, allocations: 288.3 kB / 1.548 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000276/2.113, allocations: 142 kB / 1.548 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.113, allocations: 4 kB / 1.548 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/2.113, allocations: 59.92 kB / 1.548 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/2.113, allocations: 123.2 kB / 1.548 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/2.114, allocations: 394 kB / 1.548 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/2.115, allocations: 0.8312 MB / 1.549 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/2.115, allocations: 0 / 1.549 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.01267/2.127, allocations: 6.24 MB / 1.555 GB, free: 4.355 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)