Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) [: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.472/1.472, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009609/0.0009609, allocations: 177.3 kB / 361.1 MB, free: 7.09 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.262/1.262, 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.0008993/0.0008993, allocations: 91.97 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2274/0.2283, allocations: 121.4 MB / 0.8511 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.7611, allocations: 115.3 MB / 0.9638 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.714/4.476, allocations: 2.324 GB / 3.288 GB, free: 179.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/4.476, allocations: 92.69 kB / 3.288 GB, free: 179.8 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 1.179/5.655, allocations: 479.4 MB / 3.756 GB, free: 77.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/5.655, allocations: 12.5 kB / 3.756 GB, free: 77.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/5.658, allocations: 0.4976 MB / 3.757 GB, free: 76.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/5.661, allocations: 1.339 MB / 3.758 GB, free: 75.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/5.661, allocations: 35.91 kB / 3.758 GB, free: 75.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/5.661, allocations: 60 kB / 3.758 GB, free: 75.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001828/5.663, allocations: 1.171 MB / 3.759 GB, free: 73.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/5.665, allocations: 1.132 MB / 3.76 GB, free: 72.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/5.665, allocations: 3.938 kB / 3.76 GB, free: 72.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/5.665, allocations: 4 kB / 3.76 GB, free: 72.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/5.665, allocations: 34 kB / 3.76 GB, free: 72.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/5.671, allocations: 4.8 MB / 3.765 GB, free: 67.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/5.672, allocations: 0.9367 MB / 3.766 GB, free: 66.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/5.673, allocations: 0.5753 MB / 3.767 GB, free: 66.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/5.673, allocations: 198.8 kB / 3.767 GB, free: 65.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/5.673, allocations: 43.12 kB / 3.767 GB, free: 65.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 3.837e-06/5.673, allocations: 0 / 3.767 GB, free: 65.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.004867/5.678, allocations: 2.55 MB / 3.769 GB, free: 63.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/5.678, allocations: 60.06 kB / 3.769 GB, free: 63.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/5.679, allocations: 0.7743 MB / 3.77 GB, free: 62.31 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/5.679, allocations: 25.7 kB / 3.77 GB, free: 62.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/5.679, allocations: 391.9 kB / 3.77 GB, free: 61.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/5.679, allocations: 279.8 kB / 3.771 GB, free: 61.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/5.679, allocations: 4 kB / 3.771 GB, free: 61.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/5.679, allocations: 334 kB / 3.771 GB, free: 61.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/5.68, allocations: 445.3 kB / 3.771 GB, free: 60.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/5.68, allocations: 0.595 MB / 3.772 GB, free: 60.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/5.681, allocations: 0.5509 MB / 3.773 GB, free: 59.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.681, allocations: 4 kB / 3.773 GB, free: 59.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001451/5.682, allocations: 1.197 MB / 3.774 GB, free: 58.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000181/5.683, allocations: 1.05 MB / 3.775 GB, free: 57.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/5.683, allocations: 4 kB / 3.775 GB, free: 57.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/5.683, allocations: 68.81 kB / 3.775 GB, free: 57.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/5.684, allocations: 199.6 kB / 3.775 GB, free: 57.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/5.686, allocations: 2.908 MB / 3.778 GB, free: 53.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/5.687, allocations: 107.6 kB / 3.778 GB, free: 53.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/5.687, allocations: 28.06 kB / 3.778 GB, free: 53.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/5.687, allocations: 4 kB / 3.778 GB, free: 53.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/5.688, allocations: 1.06 MB / 3.779 GB, free: 52.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/5.688, allocations: 4 kB / 3.779 GB, free: 52.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/5.688, allocations: 77.06 kB / 3.779 GB, free: 52.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/5.689, allocations: 167.8 kB / 3.779 GB, free: 52.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/5.69, allocations: 1.724 MB / 3.781 GB, free: 50.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/5.691, allocations: 107.6 kB / 3.781 GB, free: 50.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/5.691, allocations: 32.05 kB / 3.781 GB, free: 50.52 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.0001627/5.692, allocations: 124.8 kB / 3.781 GB, free: 50.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/5.692, allocations: 106.7 kB / 3.781 GB, free: 50.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/5.693, allocations: 1.155 MB / 3.782 GB, free: 49.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/5.693, allocations: 12 kB / 3.782 GB, free: 49.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/5.693, allocations: 0 / 3.782 GB, free: 49.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/5.694, allocations: 1.22 MB / 3.784 GB, free: 47.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/5.698, allocations: 2.622 MB / 3.786 GB, free: 45.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/5.698, allocations: 4 kB / 3.786 GB, free: 45.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/5.699, allocations: 228 kB / 3.786 GB, free: 44.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/5.699, allocations: 69 kB / 3.787 GB, free: 44.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/5.699, allocations: 19.98 kB / 3.787 GB, free: 44.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/5.701, allocations: 2.9 MB / 3.789 GB, free: 41.74 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/5.701, allocations: 4 kB / 3.789 GB, free: 41.73 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001861/5.702, allocations: 2.036 MB / 3.791 GB, free: 39.61 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002594/5.705, allocations: 3.19 MB / 3.794 GB, free: 36.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/5.706, allocations: 327.7 kB / 3.795 GB, free: 35.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/5.706, allocations: 8 kB / 3.795 GB, free: 35.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000971/5.707, allocations: 83.69 kB / 3.795 GB, free: 35.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/5.707, allocations: 52.5 kB / 3.795 GB, free: 35.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/5.707, allocations: 28.17 kB / 3.795 GB, free: 35.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005537/5.707, allocations: 0.6161 MB / 3.796 GB, free: 35.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003506/5.711, allocations: 1.023 MB / 3.797 GB, free: 34.18 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.001489/5.712, allocations: 1.498 MB / 3.798 GB, free: 32.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00231/5.715, allocations: 1.855 MB / 3.8 GB, free: 30.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/5.715, allocations: 4.125 kB / 3.8 GB, free: 30.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006996/5.716, allocations: 0.6482 MB / 3.8 GB, free: 30.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/5.719, allocations: 0.7173 MB / 3.801 GB, free: 29.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/5.722, allocations: 2.639 MB / 3.804 GB, free: 26.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/5.723, allocations: 1.543 MB / 3.805 GB, free: 25.09 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/5.723, allocations: 0 / 3.805 GB, free: 25.09 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)