Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.576/1.576, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001259/0.001259, allocations: 187.5 kB / 361.1 MB, free: 7.105 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.649/1.649, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.000923/0.0009228, allocations: 90.59 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.255e-05/1.256e-05, allocations: 8 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.796, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.826, allocations: 401 MB / 1.355 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.827, allocations: 81.45 kB / 1.355 GB, free: 161 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.3291/2.156, allocations: 167 MB / 1.518 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.545e-05/2.156, allocations: 15.92 kB / 1.518 GB, free: 7.137 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.00124/2.157, allocations: 0.668 MB / 1.519 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/2.157, allocations: 8.031 kB / 1.519 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/2.157, allocations: 43.53 kB / 1.519 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03793/2.195, allocations: 13.72 MB / 1.533 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/2.195, allocations: 4 kB / 1.533 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/2.195, allocations: 16 kB / 1.533 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000295/2.196, allocations: 96.62 kB / 1.533 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/2.196, allocations: 127.9 kB / 1.533 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/2.196, allocations: 7.875 kB / 1.533 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/2.196, allocations: 0 / 1.533 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/2.196, allocations: 4 kB / 1.533 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/2.198, allocations: 0.8073 MB / 1.534 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/2.198, allocations: 94.67 kB / 1.534 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/2.198, allocations: 60.72 kB / 1.534 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/2.198, allocations: 336.4 kB / 1.534 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/2.199, allocations: 34.56 kB / 1.534 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/2.199, allocations: 0 / 1.534 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0005374/2.199, allocations: 141.2 kB / 1.534 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/2.199, allocations: 51.41 kB / 1.534 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/2.199, allocations: 250.1 kB / 1.534 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/2.2, allocations: 25.92 kB / 1.534 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/2.2, allocations: 144.3 kB / 1.535 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/2.2, allocations: 47.33 kB / 1.535 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/2.2, allocations: 0 / 1.535 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000167/2.2, allocations: 342.8 kB / 1.535 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/2.2, allocations: 27.98 kB / 1.535 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/2.2, allocations: 78.8 kB / 1.535 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/2.2, allocations: 51.88 kB / 1.535 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/2.2, allocations: 0 / 1.535 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003417/2.201, allocations: 141.2 kB / 1.535 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/2.201, allocations: 182 kB / 1.535 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/2.201, allocations: 0 / 1.535 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/2.201, allocations: 4 kB / 1.535 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/2.201, allocations: 31.92 kB / 1.536 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/2.201, allocations: 4 kB / 1.536 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/2.201, allocations: 27.88 kB / 1.536 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/2.201, allocations: 12 kB / 1.536 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/2.201, allocations: 4 kB / 1.536 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002498/2.202, allocations: 75.89 kB / 1.536 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/2.202, allocations: 0 / 1.536 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-06/2.202, allocations: 0 / 1.536 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/2.202, allocations: 27.98 kB / 1.536 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/2.202, allocations: 0 / 1.536 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/2.202, allocations: 39.81 kB / 1.536 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/2.202, allocations: 4 kB / 1.536 GB, free: 4.934 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 0.0001101/2.202, allocations: 108.9 kB / 1.536 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/2.202, allocations: 39.52 kB / 1.536 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/2.203, allocations: 192.8 kB / 1.536 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/2.203, allocations: 7.984 kB / 1.536 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/2.203, allocations: 0 / 1.536 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/2.203, allocations: 0 / 1.536 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008962/2.204, allocations: 0.5339 MB / 1.537 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/2.204, allocations: 4 kB / 1.537 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/2.204, allocations: 28.08 kB / 1.537 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/2.204, allocations: 4 kB / 1.537 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/2.204, allocations: 0 / 1.537 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/2.204, allocations: 4 kB / 1.537 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.204, allocations: 0 / 1.537 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004613/2.204, allocations: 315.9 kB / 1.537 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/2.205, allocations: 124.7 kB / 1.537 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/2.205, allocations: 0 / 1.537 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/2.205, allocations: 31.81 kB / 1.537 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/2.205, allocations: 11.98 kB / 1.537 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/2.205, allocations: 4 kB / 1.537 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002009/2.205, allocations: 196.6 kB / 1.537 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007166/2.206, allocations: 159.7 kB / 1.537 GB, free: 3.07 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.000737/2.207, allocations: 291.7 kB / 1.538 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003468/2.207, allocations: 146 kB / 1.538 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/2.207, allocations: 0 / 1.538 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/2.207, allocations: 59.92 kB / 1.538 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/2.208, allocations: 128.4 kB / 1.538 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/2.209, allocations: 382.9 kB / 1.538 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/2.209, allocations: 0.839 MB / 1.539 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/2.209, allocations: 0 / 1.539 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of Templates: time 0.01478/2.224, allocations: 6.242 MB / 1.545 GB, free: 11.02 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)