Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.427/1.427, allocations: 285.5 MB / 292.8 MB, free: 10.32 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.001009/0.001009, allocations: 181.2 kB / 361.1 MB, free: 6.996 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.15/1.15, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0009779/0.000978, allocations: 89.11 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2323/0.2333, allocations: 121.4 MB / 0.8511 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.7593, allocations: 115.3 MB / 0.9637 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.19/3.949, allocations: 2.074 GB / 3.037 GB, free: 79.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/3.949, allocations: 88.7 kB / 3.037 GB, free: 79.63 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 1.736/5.685, allocations: 0.5652 GB / 3.603 GB, free: 214.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/5.685, allocations: 10.17 kB / 3.603 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/5.687, allocations: 340.6 kB / 3.603 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/5.689, allocations: 0.7963 MB / 3.604 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/5.689, allocations: 112.2 kB / 3.604 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/5.689, allocations: 54.91 kB / 3.604 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/5.691, allocations: 0.6961 MB / 3.605 GB, free: 213.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/5.692, allocations: 0.8886 MB / 3.605 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/5.692, allocations: 3.094 kB / 3.605 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/5.692, allocations: 4.438 kB / 3.605 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/5.692, allocations: 35.91 kB / 3.606 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/5.697, allocations: 3.905 MB / 3.609 GB, free: 211.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/5.698, allocations: 372.6 kB / 3.61 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/5.698, allocations: 196.9 kB / 3.61 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/5.698, allocations: 103.3 kB / 3.61 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/5.698, allocations: 49.48 kB / 3.61 GB, free: 211.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.146e-06/5.698, allocations: 3.656 kB / 3.61 GB, free: 211.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.002399/5.701, allocations: 1.102 MB / 3.611 GB, free: 210.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/5.701, allocations: 55.28 kB / 3.611 GB, free: 210.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/5.702, allocations: 0.5685 MB / 3.612 GB, free: 210.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/5.702, allocations: 25.7 kB / 3.612 GB, free: 210.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/5.702, allocations: 407.6 kB / 3.612 GB, free: 210.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/5.702, allocations: 135.2 kB / 3.612 GB, free: 210 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/5.702, allocations: 0 / 3.612 GB, free: 210 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001065/5.702, allocations: 383.5 kB / 3.613 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/5.702, allocations: 193 kB / 3.613 GB, free: 209.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/5.703, allocations: 374.5 kB / 3.613 GB, free: 209.3 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/5.705, allocations: 0.7205 MB / 3.614 GB, free: 209 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/5.705, allocations: 0 / 3.614 GB, free: 209 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001007/5.706, allocations: 0.6273 MB / 3.614 GB, free: 208.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/5.706, allocations: 3.562 kB / 3.614 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/5.706, allocations: 3.812 kB / 3.614 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/5.706, allocations: 11.31 kB / 3.614 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/5.706, allocations: 149.2 kB / 3.615 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/5.706, allocations: 7.281 kB / 3.615 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/5.707, allocations: 90.73 kB / 3.615 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/5.707, allocations: 22.38 kB / 3.615 GB, free: 208.8 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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 0.0001437/5.708, allocations: 131.3 kB / 3.615 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/5.708, allocations: 71.81 kB / 3.615 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/5.708, allocations: 78.09 kB / 3.615 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/5.708, allocations: 3.938 kB / 3.615 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/5.708, allocations: 0.6875 kB / 3.615 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004966/5.708, allocations: 0.6577 MB / 3.616 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/5.71, allocations: 1.447 MB / 3.617 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/5.71, allocations: 3.719 kB / 3.617 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/5.711, allocations: 87.77 kB / 3.617 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/5.711, allocations: 10.34 kB / 3.617 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/5.711, allocations: 10.8 kB / 3.617 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/5.711, allocations: 7.625 kB / 3.617 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/5.711, allocations: 7.531 kB / 3.617 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008727/5.712, allocations: 0.9846 MB / 3.618 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001441/5.713, allocations: 1.653 MB / 3.62 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/5.714, allocations: 210.5 kB / 3.62 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/5.714, allocations: 14.41 kB / 3.62 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/5.715, allocations: 56.3 kB / 3.62 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/5.715, allocations: 26.48 kB / 3.62 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/5.715, allocations: 28.59 kB / 3.62 GB, free: 205 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005134/5.715, allocations: 437 kB / 3.621 GB, free: 204.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00208/5.717, allocations: 487.1 kB / 3.621 GB, free: 204.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002181/5.72, allocations: 1.518 MB / 3.622 GB, free: 204.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008407/5.72, allocations: 436.2 kB / 3.623 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/5.72, allocations: 4.781 kB / 3.623 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/5.721, allocations: 181.1 kB / 3.623 GB, free: 204 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/5.723, allocations: 387.3 kB / 3.623 GB, free: 203.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/5.726, allocations: 1.375 MB / 3.625 GB, free: 203.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/5.727, allocations: 1.188 MB / 3.626 GB, free: 202.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/5.727, allocations: 0 / 3.626 GB, free: 202.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)