Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance") [: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 1.6.0+build.1/package.mo): time 0.4926/0.4926, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.2 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.5 MB / 319 MB, free: 9.336 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001622/0.001622, allocations: 110.1 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.795e-06, allocations: 0 / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1581, allocations: 61.52 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8885/1.047, allocations: 396.8 MB / 0.8857 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.047, allocations: 89.27 kB / 0.8857 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.006/2.052, allocations: 239.8 MB / 1.12 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.891e-05/2.053, allocations: 18.22 kB / 1.12 GB, free: 123.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001643/2.054, allocations: 0.8019 MB / 1.121 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/2.054, allocations: 11.75 kB / 1.121 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/2.055, allocations: 82.98 kB / 1.121 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03412/2.089, allocations: 16.15 MB / 1.137 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/2.089, allocations: 56.25 kB / 1.137 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/2.089, allocations: 24.44 kB / 1.137 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000478/2.09, allocations: 205.5 kB / 1.137 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/2.09, allocations: 377.6 kB / 1.137 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/2.09, allocations: 2.719 kB / 1.137 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/2.09, allocations: 0 / 1.137 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/2.09, allocations: 14.5 kB / 1.137 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/2.093, allocations: 2.021 MB / 1.139 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/2.093, allocations: 80.16 kB / 1.139 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/2.093, allocations: 33.33 kB / 1.139 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/2.093, allocations: 95.12 kB / 1.139 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/2.093, allocations: 34.06 kB / 1.139 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.635e-06/2.093, allocations: 2.906 kB / 1.139 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0005791/2.094, allocations: 147.7 kB / 1.14 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/2.094, allocations: 105.5 kB / 1.14 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/2.095, allocations: 370.2 kB / 1.14 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/2.095, allocations: 25.7 kB / 1.14 GB, free: 120 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/2.095, allocations: 272.2 kB / 1.14 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/2.095, allocations: 33.22 kB / 1.14 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/2.095, allocations: 0 / 1.14 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001184/2.095, allocations: 361 kB / 1.141 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/2.095, allocations: 31.19 kB / 1.141 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/2.095, allocations: 193.3 kB / 1.141 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006518/2.096, allocations: 130.3 kB / 1.141 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/2.096, allocations: 2.812 kB / 1.141 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008089/2.097, allocations: 291.7 kB / 1.141 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003606/2.097, allocations: 1.307 MB / 1.143 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/2.097, allocations: 7.875 kB / 1.143 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/2.097, allocations: 3.719 kB / 1.143 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/2.097, allocations: 57.81 kB / 1.143 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/2.097, allocations: 11 kB / 1.143 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/2.098, allocations: 51.53 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/2.098, allocations: 9.781 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/2.098, allocations: 6.625 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002412/2.098, allocations: 134.9 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/2.098, allocations: 3.875 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/2.098, allocations: 7.75 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/2.098, allocations: 53.81 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/2.098, allocations: 8.719 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/2.099, allocations: 45.78 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/2.099, allocations: 17.86 kB / 1.143 GB, free: 117.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.466e-05/2.099, allocations: 109.1 kB / 1.143 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/2.099, allocations: 53.62 kB / 1.143 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/2.099, allocations: 207.7 kB / 1.143 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/2.1, allocations: 0 / 1.143 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/2.1, allocations: 0 / 1.143 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/2.1, allocations: 0 / 1.143 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/2.1, allocations: 350.2 kB / 1.144 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/2.1, allocations: 0 / 1.144 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/2.1, allocations: 24.3 kB / 1.144 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/2.1, allocations: 0 / 1.144 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/2.1, allocations: 7.719 kB / 1.144 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/2.1, allocations: 0 / 1.144 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.1, allocations: 1.969 kB / 1.144 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000563/2.101, allocations: 292.2 kB / 1.144 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/2.101, allocations: 111.3 kB / 1.144 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/2.101, allocations: 3.906 kB / 1.144 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/2.101, allocations: 46.97 kB / 1.144 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/2.101, allocations: 11.38 kB / 1.144 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/2.101, allocations: 11.69 kB / 1.144 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002354/2.102, allocations: 284 kB / 1.144 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009025/2.102, allocations: 313 kB / 1.145 GB, free: 117.2 MB / 0.5261 GB 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 (9): * Single equations (assignments): 9 * 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.0006804/2.103, allocations: 388.2 kB / 1.145 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002999/2.103, allocations: 190.8 kB / 1.145 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/2.103, allocations: 0 / 1.145 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/2.103, allocations: 28.5 kB / 1.145 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/2.104, allocations: 163.9 kB / 1.145 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/2.105, allocations: 0.522 MB / 1.146 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/2.106, allocations: 0.9335 MB / 1.147 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/2.106, allocations: 0 / 1.147 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.01792/2.124, allocations: 9.271 MB / 1.156 GB, free: 116.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe 2>&1)