Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") [: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.273/2.273, allocations: 284.9 MB / 292.2 MB, free: 9.82 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.001644/0.001644, allocations: 182.5 kB / 360.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.2 MB / 0.6188 GB, free: 3.332 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001281, allocations: 89.8 kB / 0.7318 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.658e-06, allocations: 1.469 kB / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 115.2 MB / 0.9628 GB, free: 56.99 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.957/5.165, allocations: 2.134 GB / 3.097 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/5.166, allocations: 86.64 kB / 3.097 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.82/14.99, allocations: 2.037 GB / 5.134 GB, free: 106.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004749/14.99, allocations: 99.42 kB / 5.134 GB, free: 106.2 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01382/15, allocations: 3.468 MB / 5.138 GB, free: 105 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/15, allocations: 8.094 kB / 5.138 GB, free: 105 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/15.01, allocations: 0.9831 MB / 5.139 GB, free: 104.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/15.02, allocations: 2.9 MB / 5.142 GB, free: 104.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/15.02, allocations: 171.9 kB / 5.142 GB, free: 104.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/15.03, allocations: 172.2 kB / 5.142 GB, free: 104.3 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009161/15.03, allocations: 2.502 MB / 5.144 GB, free: 104.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/15.05, allocations: 2.81 MB / 5.147 GB, free: 104 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/15.05, allocations: 3.656 kB / 5.147 GB, free: 104 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/15.05, allocations: 3.75 kB / 5.147 GB, free: 104 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/15.05, allocations: 106.8 kB / 5.147 GB, free: 104 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02931/15.08, allocations: 13.14 MB / 5.16 GB, free: 96.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/15.08, allocations: 1.667 MB / 5.162 GB, free: 96.62 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/15.08, allocations: 1.039 MB / 5.163 GB, free: 96.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007346/15.08, allocations: 339.2 kB / 5.163 GB, free: 96.32 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/15.08, allocations: 61.88 kB / 5.163 GB, free: 96.28 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 5.059e-06/15.08, allocations: 0 / 5.163 GB, free: 96.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.007736/15.09, allocations: 1.95 MB / 5.165 GB, free: 96.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/15.09, allocations: 71.16 kB / 5.165 GB, free: 96.01 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/15.1, allocations: 1.423 MB / 5.166 GB, free: 95.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006232/15.1, allocations: 34.91 kB / 5.166 GB, free: 95.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/15.1, allocations: 0.9871 MB / 5.167 GB, free: 95.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/15.1, allocations: 0.6253 MB / 5.168 GB, free: 94.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/15.1, allocations: 1.875 kB / 5.168 GB, free: 94.78 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001888/15.1, allocations: 388.1 kB / 5.168 GB, free: 94.48 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/15.1, allocations: 0.7427 MB / 5.169 GB, free: 94.47 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/15.1, allocations: 1.406 MB / 5.171 GB, free: 93.71 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/15.11, allocations: 1.021 MB / 5.172 GB, free: 93.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/15.11, allocations: 3.719 kB / 5.172 GB, free: 93.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006723/15.11, allocations: 2.275 MB / 5.174 GB, free: 93.48 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001329/15.11, allocations: 5.463 MB / 5.179 GB, free: 87.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.917e-05/15.11, allocations: 12.97 kB / 5.179 GB, free: 87.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.837e-05/15.11, allocations: 26.16 kB / 5.179 GB, free: 87.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00546/15.12, allocations: 0.5178 MB / 5.18 GB, free: 87.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/15.12, allocations: 4.194 MB / 5.184 GB, free: 83.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006479/15.13, allocations: 314.7 kB / 5.184 GB, free: 83.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007224/15.13, allocations: 91.56 kB / 5.184 GB, free: 83.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/15.13, allocations: 5.844 kB / 5.184 GB, free: 83.45 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005895/15.14, allocations: 1.97 MB / 5.186 GB, free: 83.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/15.14, allocations: 14.91 kB / 5.186 GB, free: 83.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/15.14, allocations: 25.53 kB / 5.186 GB, free: 83.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/15.14, allocations: 470.7 kB / 5.187 GB, free: 83.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.694e-05/15.14, allocations: 34.23 kB / 5.187 GB, free: 83.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/15.15, allocations: 287.6 kB / 5.187 GB, free: 83.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005635/15.15, allocations: 88.62 kB / 5.187 GB, free: 83.33 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007387/15.15, allocations: 167.8 kB / 5.187 GB, free: 83.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009926/15.15, allocations: 251.7 kB / 5.187 GB, free: 83.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/15.15, allocations: 1.953 MB / 5.189 GB, free: 82.97 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/15.15, allocations: 17.66 kB / 5.189 GB, free: 82.97 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/15.15, allocations: 0 / 5.189 GB, free: 82.97 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004138/15.16, allocations: 1.766 MB / 5.191 GB, free: 82.67 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/15.17, allocations: 4.712 MB / 5.196 GB, free: 82.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/15.17, allocations: 3.906 kB / 5.196 GB, free: 82.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005164/15.18, allocations: 0.5042 MB / 5.196 GB, free: 82.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-05/15.18, allocations: 11.06 kB / 5.196 GB, free: 82.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004204/15.18, allocations: 29.97 kB / 5.196 GB, free: 82.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/15.18, allocations: 4.151 MB / 5.2 GB, free: 78.08 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/15.18, allocations: 5.656 kB / 5.2 GB, free: 78.08 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008578/15.19, allocations: 3.449 MB / 5.204 GB, free: 77.34 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/15.19, allocations: 0.5532 MB / 5.204 GB, free: 77.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/15.19, allocations: 17.39 kB / 5.204 GB, free: 77.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005452/15.2, allocations: 223 kB / 5.204 GB, free: 77.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000573/15.2, allocations: 103.9 kB / 5.204 GB, free: 77.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/15.2, allocations: 78.5 kB / 5.204 GB, free: 77.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.00309/15.2, allocations: 1.06 MB / 5.205 GB, free: 76.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01115/15.21, allocations: 1.933 MB / 5.207 GB, free: 76.66 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01197/15.23, allocations: 5.217 MB / 5.212 GB, free: 74.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01394/15.24, allocations: 3.173 MB / 5.216 GB, free: 74.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/15.24, allocations: 3.688 kB / 5.216 GB, free: 74.34 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004267/15.24, allocations: 0.9951 MB / 5.217 GB, free: 74.33 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01799/15.26, allocations: 1.399 MB / 5.218 GB, free: 74.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/15.28, allocations: 5.454 MB / 5.223 GB, free: 73.14 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006109/15.29, allocations: 2.472 MB / 5.226 GB, free: 72.38 MB / 1.01 GB Notification: Performance of SimCode: time 3.246e-06/15.29, allocations: 0 / 5.226 GB, free: 72.38 MB / 1.01 GB Notification: Performance of Templates: time 0.2382/15.53, allocations: 81.27 MB / 5.305 GB, free: 67.79 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)