Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7591/0.7591, allocations: 141.8 MB / 149.1 MB, free: 7.66 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 184.9 kB / 181.9 MB, free: 4.969 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 436 MB, free: 12.72 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 102.8 kB / 0.507 GB, free: 16.39 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 262.8 kB / 0.5884 GB, free: 14.89 MB / 458.9 MB Notification: Performance of FrontEnd - loaded program: time 1.064e-05/1.066e-05, allocations: 2.594 kB / 0.6759 GB, free: 129.7 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 82.78 MB / 0.7567 GB, free: 59.4 MB / 0.495 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.552/5.794, allocations: 2.125 GB / 2.882 GB, free: 75.07 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/5.794, allocations: 99.36 kB / 2.882 GB, free: 74.98 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.846/7.64, allocations: 485.8 MB / 3.356 GB, free: 127.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001926/7.64, allocations: 47.88 kB / 3.356 GB, free: 127.9 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004706/7.645, allocations: 1.48 MB / 3.358 GB, free: 126.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/7.645, allocations: 8.031 kB / 3.358 GB, free: 126.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/7.649, allocations: 0.5015 MB / 3.358 GB, free: 125.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/7.653, allocations: 1.342 MB / 3.36 GB, free: 124.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/7.653, allocations: 32 kB / 3.36 GB, free: 124.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/7.654, allocations: 64 kB / 3.36 GB, free: 124.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00269/7.656, allocations: 1.167 MB / 3.361 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/7.659, allocations: 1.132 MB / 3.362 GB, free: 122.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/7.659, allocations: 0 / 3.362 GB, free: 122.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/7.659, allocations: 0 / 3.362 GB, free: 122.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/7.659, allocations: 45.98 kB / 3.362 GB, free: 122.1 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008631/7.668, allocations: 4.804 MB / 3.367 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/7.669, allocations: 0.9355 MB / 3.368 GB, free: 116 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/7.67, allocations: 0.5675 MB / 3.368 GB, free: 115.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/7.67, allocations: 209.5 kB / 3.368 GB, free: 115.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/7.67, allocations: 47.22 kB / 3.369 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=78): time 4.288e-06/7.67, allocations: 0 / 3.369 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=81): time 0.00648/7.677, allocations: 2.542 MB / 3.371 GB, free: 112.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/7.677, allocations: 60.06 kB / 3.371 GB, free: 112.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/7.678, allocations: 0.7665 MB / 3.372 GB, free: 111.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/7.678, allocations: 29.7 kB / 3.372 GB, free: 111.7 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/7.678, allocations: 387.9 kB / 3.372 GB, free: 111.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/7.679, allocations: 287.8 kB / 3.372 GB, free: 111 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/7.679, allocations: 0 / 3.372 GB, free: 111 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/7.679, allocations: 338 kB / 3.373 GB, free: 110.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/7.679, allocations: 437.3 kB / 3.373 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/7.68, allocations: 0.5989 MB / 3.374 GB, free: 109.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/7.681, allocations: 0.5509 MB / 3.374 GB, free: 109 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/7.681, allocations: 0 / 3.374 GB, free: 109 MB / 0.6982 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001685/7.682, allocations: 1.203 MB / 3.376 GB, free: 107.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/7.683, allocations: 1.046 MB / 3.377 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/7.683, allocations: 8 kB / 3.377 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/7.683, allocations: 72.81 kB / 3.377 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/7.684, allocations: 191.4 kB / 3.377 GB, free: 106.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/7.687, allocations: 2.908 MB / 3.38 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/7.688, allocations: 111.6 kB / 3.38 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/7.688, allocations: 28.06 kB / 3.38 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/7.688, allocations: 7.938 kB / 3.38 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/7.69, allocations: 1.067 MB / 3.381 GB, free: 102.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/7.69, allocations: 7.891 kB / 3.381 GB, free: 102.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/7.69, allocations: 72.83 kB / 3.381 GB, free: 102 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/7.691, allocations: 163.8 kB / 3.381 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/7.692, allocations: 1.716 MB / 3.383 GB, free: 100 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/7.693, allocations: 107.7 kB / 3.383 GB, free: 99.93 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/7.694, allocations: 32.06 kB / 3.383 GB, free: 99.9 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002422/7.694, allocations: 120.7 kB / 3.383 GB, free: 99.78 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/7.694, allocations: 110.7 kB / 3.383 GB, free: 99.67 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/7.696, allocations: 1.154 MB / 3.384 GB, free: 98.51 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/7.696, allocations: 8 kB / 3.384 GB, free: 98.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/7.696, allocations: 4 kB / 3.384 GB, free: 98.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/7.697, allocations: 1.216 MB / 3.385 GB, free: 97.21 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/7.7, allocations: 2.632 MB / 3.388 GB, free: 94.53 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/7.7, allocations: 3.984 kB / 3.388 GB, free: 94.52 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/7.701, allocations: 219.7 kB / 3.388 GB, free: 94.31 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/7.702, allocations: 72.81 kB / 3.388 GB, free: 94.23 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/7.702, allocations: 11.98 kB / 3.388 GB, free: 94.22 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/7.703, allocations: 2.904 MB / 3.391 GB, free: 91.15 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/7.703, allocations: 0 / 3.391 GB, free: 91.15 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002004/7.705, allocations: 2.043 MB / 3.393 GB, free: 89.02 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/7.706, allocations: 323.7 kB / 3.393 GB, free: 88.68 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/7.706, allocations: 4 kB / 3.393 GB, free: 88.68 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009929/7.707, allocations: 87.22 kB / 3.394 GB, free: 88.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/7.707, allocations: 60.42 kB / 3.394 GB, free: 88.54 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/7.707, allocations: 27.98 kB / 3.394 GB, free: 88.51 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000691/7.708, allocations: 0.6123 MB / 3.394 GB, free: 87.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002257/7.71, allocations: 0.7187 MB / 3.395 GB, free: 87.18 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002089/7.712, allocations: 1.513 MB / 3.396 GB, free: 85.81 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002606/7.715, allocations: 1.858 MB / 3.398 GB, free: 83.94 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/7.715, allocations: 4.25 kB / 3.398 GB, free: 83.93 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/7.716, allocations: 0.6404 MB / 3.399 GB, free: 83.28 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/7.719, allocations: 0.7067 MB / 3.4 GB, free: 82.58 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/7.723, allocations: 2.611 MB / 3.402 GB, free: 79.91 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/7.724, allocations: 1.532 MB / 3.404 GB, free: 78.35 MB / 0.6982 GB Notification: Performance of SimCode: time 8.92e-07/7.724, allocations: 0 / 3.404 GB, free: 78.35 MB / 0.6982 GB Notification: Performance of Templates: time 0.05694/7.781, allocations: 37.29 MB / 3.44 GB, free: 41.41 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)