Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.00108/0.00108, allocations: 192.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4596/0.4596, 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.288/1.288, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009553/0.0009556, allocations: 87.78 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.174/0.175, allocations: 78.46 MB / 494 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.5179, allocations: 72.3 MB / 0.553 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.645/4.163, allocations: 1.883 GB / 2.436 GB, free: 174.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/4.163, allocations: 87.95 kB / 2.436 GB, free: 174.2 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 1.79/5.953, allocations: 0.6012 GB / 3.037 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/5.953, allocations: 12 kB / 3.037 GB, free: 28.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/5.955, allocations: 222.5 kB / 3.038 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/5.956, allocations: 0.6797 MB / 3.038 GB, free: 27.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/5.956, allocations: 27.91 kB / 3.038 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/5.956, allocations: 44 kB / 3.038 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009059/5.957, allocations: 0.5272 MB / 3.039 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/5.958, allocations: 0.7961 MB / 3.04 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/5.958, allocations: 2.953 kB / 3.04 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/5.958, allocations: 4 kB / 3.04 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/5.958, allocations: 25.31 kB / 3.04 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/5.962, allocations: 4.528 MB / 3.044 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/5.963, allocations: 444.7 kB / 3.045 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/5.963, allocations: 218.9 kB / 3.045 GB, free: 20.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/5.963, allocations: 114 kB / 3.045 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/5.963, allocations: 38.56 kB / 3.045 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 3.506e-06/5.963, allocations: 4 kB / 3.045 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002406/5.966, allocations: 1.333 MB / 3.046 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/5.966, allocations: 110.8 kB / 3.046 GB, free: 19.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/5.966, allocations: 434.5 kB / 3.047 GB, free: 18.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/5.966, allocations: 29.7 kB / 3.047 GB, free: 18.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/5.966, allocations: 347 kB / 3.047 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/5.966, allocations: 157.7 kB / 3.047 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/5.966, allocations: 0 / 3.047 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/5.967, allocations: 377.4 kB / 3.048 GB, free: 17.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/5.967, allocations: 169.3 kB / 3.048 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/5.967, allocations: 398.4 kB / 3.048 GB, free: 17.01 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/5.969, allocations: 0.6616 MB / 3.049 GB, free: 16.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.969, allocations: 4 kB / 3.049 GB, free: 16.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007788/5.969, allocations: 0.5825 MB / 3.049 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/5.97, allocations: 12.02 kB / 3.049 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/5.97, allocations: 8 kB / 3.049 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/5.97, allocations: 11.94 kB / 3.049 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/5.97, allocations: 123.8 kB / 3.05 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/5.97, allocations: 11.94 kB / 3.05 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/5.971, allocations: 47.8 kB / 3.05 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/5.971, allocations: 28 kB / 3.05 GB, free: 15.5 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: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.000121/5.971, allocations: 124.8 kB / 3.05 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/5.971, allocations: 67.16 kB / 3.05 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/5.971, allocations: 70.03 kB / 3.05 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/5.971, allocations: 7.938 kB / 3.05 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/5.971, allocations: 12 kB / 3.05 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005154/5.972, allocations: 0.6726 MB / 3.051 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/5.973, allocations: 1.485 MB / 3.052 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/5.973, allocations: 4.469 kB / 3.052 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/5.974, allocations: 95.89 kB / 3.052 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/5.974, allocations: 6.734 kB / 3.052 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/5.974, allocations: 15.98 kB / 3.052 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/5.974, allocations: 11.94 kB / 3.052 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/5.974, allocations: 4 kB / 3.052 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008565/5.975, allocations: 0.9863 MB / 3.053 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001403/5.976, allocations: 1.678 MB / 3.055 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/5.977, allocations: 184.2 kB / 3.055 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/5.977, allocations: 12 kB / 3.055 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/5.977, allocations: 31.91 kB / 3.055 GB, free: 9.535 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/5.977, allocations: 31.88 kB / 3.055 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/5.977, allocations: 19.98 kB / 3.055 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002966/5.977, allocations: 326.9 kB / 3.055 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001886/5.979, allocations: 0.5078 MB / 3.056 GB, free: 8.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.002205/5.982, allocations: 1.867 MB / 3.058 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006077/5.982, allocations: 437.4 kB / 3.058 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/5.982, allocations: 448 / 3.058 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/5.982, allocations: 199.7 kB / 3.058 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/5.984, allocations: 294.5 kB / 3.058 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/5.986, allocations: 1.262 MB / 3.06 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/5.986, allocations: 1.117 MB / 3.061 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/5.986, allocations: 0 / 3.061 GB, free: 3.316 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)