Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.8 MB / 297 MB, free: 6.59 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.001104/0.001104, allocations: 180.4 kB / 366.3 MB, free: 1.902 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.683/1.683, allocations: 205.1 MB / 0.6256 GB, free: 7.379 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.001091/0.001091, allocations: 85.81 kB / 0.7395 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.336e-05/1.338e-05, allocations: 4 kB / 0.859 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8674, allocations: 116.3 MB / 0.9726 GB, free: 76.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.392/6.26, allocations: 2.325 GB / 3.298 GB, free: 161.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003893/6.26, allocations: 97.3 kB / 3.298 GB, free: 161.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.408/7.668, allocations: 477.8 MB / 3.764 GB, free: 55.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000182/7.668, allocations: 39.98 kB / 3.765 GB, free: 55.31 MB / 0.948 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.004655/7.673, allocations: 1.485 MB / 3.766 GB, free: 53.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/7.673, allocations: 8.031 kB / 3.766 GB, free: 53.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/7.677, allocations: 0.5015 MB / 3.766 GB, free: 53.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/7.68, allocations: 1.339 MB / 3.768 GB, free: 51.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/7.68, allocations: 36 kB / 3.768 GB, free: 51.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/7.681, allocations: 64 kB / 3.768 GB, free: 51.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001863/7.683, allocations: 1.171 MB / 3.769 GB, free: 50.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/7.684, allocations: 1.132 MB / 3.77 GB, free: 49.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/7.684, allocations: 0 / 3.77 GB, free: 49.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/7.685, allocations: 0 / 3.77 GB, free: 49.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/7.685, allocations: 41.98 kB / 3.77 GB, free: 49.44 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007609/7.692, allocations: 4.798 MB / 3.775 GB, free: 44.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/7.693, allocations: 0.9327 MB / 3.776 GB, free: 43.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006183/7.694, allocations: 0.5714 MB / 3.776 GB, free: 42.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/7.694, allocations: 210.7 kB / 3.776 GB, free: 42.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/7.694, allocations: 43.22 kB / 3.777 GB, free: 42.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 5.49e-06/7.694, allocations: 0 / 3.777 GB, free: 42.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.005966/7.7, allocations: 2.538 MB / 3.779 GB, free: 39.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/7.7, allocations: 60.06 kB / 3.779 GB, free: 39.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/7.702, allocations: 0.7742 MB / 3.78 GB, free: 39.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.709e-05/7.702, allocations: 29.7 kB / 3.78 GB, free: 38.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/7.702, allocations: 391.9 kB / 3.78 GB, free: 38.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/7.702, allocations: 283.8 kB / 3.781 GB, free: 38.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/7.702, allocations: 0 / 3.781 GB, free: 38.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/7.702, allocations: 342 kB / 3.781 GB, free: 37.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/7.703, allocations: 433.3 kB / 3.781 GB, free: 37.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/7.703, allocations: 0.6029 MB / 3.782 GB, free: 36.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/7.704, allocations: 0.5431 MB / 3.782 GB, free: 36.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/7.704, allocations: 0 / 3.782 GB, free: 36.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001545/7.706, allocations: 1.205 MB / 3.784 GB, free: 35.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/7.706, allocations: 1.058 MB / 3.785 GB, free: 33.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/7.706, allocations: 4 kB / 3.785 GB, free: 33.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/7.706, allocations: 72.81 kB / 3.785 GB, free: 33.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/7.707, allocations: 191.7 kB / 3.785 GB, free: 33.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/7.709, allocations: 2.908 MB / 3.788 GB, free: 30.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/7.711, allocations: 107.6 kB / 3.788 GB, free: 30.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/7.711, allocations: 32 kB / 3.788 GB, free: 30.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/7.711, allocations: 4 kB / 3.788 GB, free: 30.51 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/7.712, allocations: 1.064 MB / 3.789 GB, free: 29.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/7.712, allocations: 3.906 kB / 3.789 GB, free: 29.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/7.712, allocations: 72.81 kB / 3.789 GB, free: 29.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/7.713, allocations: 167.7 kB / 3.789 GB, free: 29.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/7.714, allocations: 1.713 MB / 3.791 GB, free: 27.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/7.716, allocations: 111.6 kB / 3.791 GB, free: 27.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/7.716, allocations: 36 kB / 3.791 GB, free: 27.23 MB / 0.948 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.0002342/7.716, allocations: 116.8 kB / 3.791 GB, free: 27.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/7.716, allocations: 114.7 kB / 3.791 GB, free: 26.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/7.718, allocations: 1.155 MB / 3.792 GB, free: 25.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/7.718, allocations: 8 kB / 3.792 GB, free: 25.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/7.718, allocations: 4 kB / 3.792 GB, free: 25.81 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/7.719, allocations: 1.212 MB / 3.793 GB, free: 24.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/7.723, allocations: 2.63 MB / 3.796 GB, free: 21.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/7.723, allocations: 0 / 3.796 GB, free: 21.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/7.724, allocations: 227.7 kB / 3.796 GB, free: 21.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/7.724, allocations: 68.81 kB / 3.796 GB, free: 21.53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/7.724, allocations: 12.25 kB / 3.796 GB, free: 21.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/7.726, allocations: 2.912 MB / 3.799 GB, free: 18.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/7.726, allocations: 4.062 kB / 3.799 GB, free: 18.45 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002093/7.728, allocations: 2.039 MB / 3.801 GB, free: 16.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006825/7.728, allocations: 323.7 kB / 3.801 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/7.729, allocations: 7.984 kB / 3.801 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/7.73, allocations: 83.75 kB / 3.802 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/7.73, allocations: 48.5 kB / 3.802 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/7.73, allocations: 31.98 kB / 3.802 GB, free: 15.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000723/7.731, allocations: 0.6122 MB / 3.802 GB, free: 15.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0022/7.733, allocations: 0.7187 MB / 3.803 GB, free: 14.48 MB / 0.948 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.001865/7.735, allocations: 1.518 MB / 3.804 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002631/7.737, allocations: 1.855 MB / 3.806 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/7.737, allocations: 3.938 kB / 3.806 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/7.738, allocations: 0.6443 MB / 3.807 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/7.741, allocations: 0.7076 MB / 3.808 GB, free: 9.664 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/7.745, allocations: 2.607 MB / 3.81 GB, free: 6.992 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/7.746, allocations: 1.543 MB / 3.812 GB, free: 5.422 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/7.746, allocations: 0 / 3.812 GB, free: 5.422 MB / 0.948 GB Notification: Performance of Templates: time 0.507/8.253, allocations: 37.24 MB / 3.848 GB, free: 288.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)