Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 189.7 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4619/0.4619, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.4 MB / 342.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 87.89 kB / 415.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1657/0.167, allocations: 78.45 MB / 494 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.5083, allocations: 72.3 MB / 0.553 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.304/3.812, allocations: 1.871 GB / 2.424 GB, free: 192.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/3.812, allocations: 84.48 kB / 2.424 GB, free: 192.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.7424/4.555, allocations: 264.5 MB / 2.682 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/4.555, allocations: 7.75 kB / 2.682 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/4.556, allocations: 183.2 kB / 2.682 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/4.557, allocations: 0.5261 MB / 2.683 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/4.557, allocations: 11.78 kB / 2.683 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/4.557, allocations: 28.02 kB / 2.683 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006217/4.558, allocations: 377.3 kB / 2.683 GB, free: 158 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/4.558, allocations: 453 kB / 2.683 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/4.558, allocations: 0 / 2.683 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/4.558, allocations: 0 / 2.683 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/4.558, allocations: 17.42 kB / 2.683 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/4.56, allocations: 1.671 MB / 2.685 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/4.561, allocations: 198.2 kB / 2.685 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/4.561, allocations: 174 kB / 2.685 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/4.561, allocations: 96.28 kB / 2.686 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/4.561, allocations: 35.62 kB / 2.686 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/4.561, allocations: 3.891 kB / 2.686 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001772/4.563, allocations: 0.8973 MB / 2.686 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/4.563, allocations: 61.7 kB / 2.686 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/4.563, allocations: 290.2 kB / 2.687 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/4.563, allocations: 28.77 kB / 2.687 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/4.563, allocations: 213 kB / 2.687 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/4.564, allocations: 115.6 kB / 2.687 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/4.564, allocations: 0 / 2.687 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/4.564, allocations: 346.4 kB / 2.687 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/4.564, allocations: 126.3 kB / 2.688 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/4.564, allocations: 189.5 kB / 2.688 GB, free: 154.6 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/4.566, allocations: 0.5609 MB / 2.688 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/4.566, allocations: 0 / 2.688 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006086/4.566, allocations: 369.4 kB / 2.689 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/4.566, allocations: 5.375 kB / 2.689 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/4.566, allocations: 5.062 kB / 2.689 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/4.566, allocations: 3.594 kB / 2.689 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/4.567, allocations: 71.56 kB / 2.689 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/4.567, allocations: 7.938 kB / 2.689 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/4.567, allocations: 28 kB / 2.689 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/4.567, allocations: 14.53 kB / 2.689 GB, free: 154.1 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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 9.94e-05/4.567, allocations: 114.6 kB / 2.689 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/4.567, allocations: 45.34 kB / 2.689 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/4.567, allocations: 51.83 kB / 2.689 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/4.567, allocations: 4.031 kB / 2.689 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/4.567, allocations: 0 / 2.689 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000479/4.568, allocations: 383.3 kB / 2.689 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/4.57, allocations: 1.161 MB / 2.69 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/4.57, allocations: 6.188 kB / 2.69 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/4.57, allocations: 67.97 kB / 2.691 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/4.57, allocations: 6.094 kB / 2.691 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/4.57, allocations: 9.594 kB / 2.691 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/4.57, allocations: 12.59 kB / 2.691 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/4.57, allocations: 7.688 kB / 2.691 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008326/4.571, allocations: 0.8548 MB / 2.691 GB, free: 152 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001197/4.572, allocations: 1.45 MB / 2.693 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/4.572, allocations: 164.5 kB / 2.693 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/4.572, allocations: 11.94 kB / 2.693 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/4.573, allocations: 23.05 kB / 2.693 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/4.573, allocations: 35.22 kB / 2.693 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/4.573, allocations: 19.98 kB / 2.693 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001874/4.573, allocations: 224.6 kB / 2.693 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001516/4.575, allocations: 292 kB / 2.694 GB, free: 149.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001195/4.576, allocations: 1.08 MB / 2.695 GB, free: 149 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000472/4.576, allocations: 299.6 kB / 2.695 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/4.576, allocations: 4 kB / 2.695 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/4.577, allocations: 155.3 kB / 2.695 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/4.578, allocations: 248.7 kB / 2.695 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/4.579, allocations: 0.8302 MB / 2.696 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/4.58, allocations: 0.9438 MB / 2.697 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/4.58, allocations: 0 / 2.697 GB, free: 146.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)