Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7339/0.7339, allocations: 141.8 MB / 149.1 MB, free: 1.539 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 181.3 kB / 181.9 MB, free: 0.9297 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.3 MB / 436 MB, free: 5.516 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 98 kB / 0.507 GB, free: 2.195 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 270.6 kB / 0.5884 GB, free: 47.34 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3568/0.3586, allocations: 89.63 MB / 0.676 GB, free: 59.71 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.5043, allocations: 82.78 MB / 0.7568 GB, free: 0.7031 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.442/3.946, allocations: 1.879 GB / 2.636 GB, free: 66.61 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/3.947, allocations: 93.61 kB / 2.636 GB, free: 66.52 MB / 0.6982 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.724/5.671, allocations: 0.5724 GB / 3.209 GB, free: 19.34 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/5.671, allocations: 17.19 kB / 3.209 GB, free: 19.32 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/5.673, allocations: 342.3 kB / 3.209 GB, free: 18.98 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/5.675, allocations: 0.8004 MB / 3.21 GB, free: 18.14 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/5.675, allocations: 105.9 kB / 3.21 GB, free: 18.04 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/5.676, allocations: 52 kB / 3.21 GB, free: 17.98 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001218/5.677, allocations: 0.7029 MB / 3.211 GB, free: 17.28 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/5.678, allocations: 0.8825 MB / 3.211 GB, free: 16.36 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/5.678, allocations: 11.84 kB / 3.211 GB, free: 16.35 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/5.678, allocations: 0 / 3.211 GB, free: 16.35 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/5.678, allocations: 33.98 kB / 3.212 GB, free: 16.32 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/5.683, allocations: 3.902 MB / 3.215 GB, free: 12.17 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/5.684, allocations: 371.1 kB / 3.216 GB, free: 11.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/5.684, allocations: 205.5 kB / 3.216 GB, free: 11.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/5.684, allocations: 97.09 kB / 3.216 GB, free: 11.49 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/5.685, allocations: 46.55 kB / 3.216 GB, free: 11.43 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=36): time 2.706e-06/5.685, allocations: 0 / 3.216 GB, free: 11.43 MB / 0.6982 GB Notification: Performance of matching and sorting (n=38): time 0.002339/5.687, allocations: 1.108 MB / 3.217 GB, free: 10.27 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/5.687, allocations: 55.41 kB / 3.217 GB, free: 10.21 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/5.688, allocations: 0.5622 MB / 3.218 GB, free: 9.645 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/5.688, allocations: 25.7 kB / 3.218 GB, free: 9.613 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/5.688, allocations: 414.3 kB / 3.218 GB, free: 9.199 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/5.688, allocations: 138 kB / 3.218 GB, free: 9.062 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/5.688, allocations: 0 / 3.218 GB, free: 9.062 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/5.688, allocations: 382.7 kB / 3.219 GB, free: 8.68 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/5.688, allocations: 189.2 kB / 3.219 GB, free: 8.492 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/5.689, allocations: 378.6 kB / 3.219 GB, free: 8.051 MB / 0.6982 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.001694/5.69, allocations: 0.7123 MB / 3.22 GB, free: 7.324 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/5.69, allocations: 0 / 3.22 GB, free: 7.324 MB / 0.6982 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009369/5.691, allocations: 0.6327 MB / 3.22 GB, free: 6.684 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/5.691, allocations: 4 kB / 3.22 GB, free: 6.68 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/5.691, allocations: 8 kB / 3.22 GB, free: 6.672 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/5.691, allocations: 8 kB / 3.221 GB, free: 6.664 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/5.692, allocations: 144.3 kB / 3.221 GB, free: 6.523 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/5.692, allocations: 15.92 kB / 3.221 GB, free: 6.508 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/5.693, allocations: 83.78 kB / 3.221 GB, free: 6.426 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/5.693, allocations: 24 kB / 3.221 GB, free: 6.402 MB / 0.6982 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.0001424/5.693, allocations: 132.6 kB / 3.221 GB, free: 6.266 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/5.693, allocations: 75.16 kB / 3.221 GB, free: 6.191 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/5.693, allocations: 78.78 kB / 3.221 GB, free: 6.109 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/5.693, allocations: 4 kB / 3.221 GB, free: 6.105 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/5.693, allocations: 0 / 3.221 GB, free: 6.105 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000475/5.694, allocations: 0.6476 MB / 3.222 GB, free: 5.371 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/5.696, allocations: 1.452 MB / 3.223 GB, free: 3.828 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/5.696, allocations: 4 kB / 3.223 GB, free: 3.824 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/5.697, allocations: 83.89 kB / 3.223 GB, free: 3.742 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/5.697, allocations: 4.562 kB / 3.223 GB, free: 3.738 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/5.697, allocations: 16 kB / 3.223 GB, free: 3.723 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/5.697, allocations: 15.92 kB / 3.223 GB, free: 3.707 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/5.697, allocations: 8 kB / 3.223 GB, free: 3.699 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008413/5.697, allocations: 0.9817 MB / 3.224 GB, free: 2.547 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001352/5.699, allocations: 1.655 MB / 3.226 GB, free: 0.7266 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/5.699, allocations: 212.1 kB / 3.226 GB, free: 0.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/5.699, allocations: 11.98 kB / 3.226 GB, free: 500 kB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/5.7, allocations: 47.91 kB / 3.226 GB, free: 452 kB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/5.7, allocations: 43.75 kB / 3.226 GB, free: 408 kB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/5.7, allocations: 23.98 kB / 3.226 GB, free: 384 kB / 0.6982 GB Notification: Performance of sort global known variables: time 0.2709/5.971, allocations: 435.6 kB / 3.227 GB, free: 191.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002567/5.974, allocations: 481.4 kB / 3.227 GB, free: 191.4 MB / 0.6982 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.001787/5.975, allocations: 1.512 MB / 3.228 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007706/5.976, allocations: 441.8 kB / 3.229 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/5.976, allocations: 3.562 kB / 3.229 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/5.976, allocations: 177.8 kB / 3.229 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/5.978, allocations: 387.9 kB / 3.229 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/5.981, allocations: 1.368 MB / 3.231 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/5.981, allocations: 1.19 MB / 3.232 GB, free: 190 MB / 0.6982 GB Notification: Performance of SimCode: time 8.32e-07/5.981, allocations: 0.5625 kB / 3.232 GB, free: 190 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)