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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.8177/0.8177, allocations: 141.8 MB / 149.1 MB, free: 1.059 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.001193/0.001193, allocations: 175.3 kB / 182 MB, free: 404 kB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 436 MB, free: 5.27 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.001029/0.001029, allocations: 96.22 kB / 0.507 GB, free: 1.926 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001722, allocations: 277.2 kB / 0.5885 GB, free: 47 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.825e-06, allocations: 2.094 kB / 0.6759 GB, free: 59.43 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1788, allocations: 82.78 MB / 0.7567 GB, free: 464 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.964/4.143, allocations: 1.879 GB / 2.636 GB, free: 86.04 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/4.143, allocations: 92.62 kB / 2.636 GB, free: 85.95 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.001/6.145, allocations: 0.5712 GB / 3.207 GB, free: 39.08 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 7.681e-05/6.145, allocations: 31.92 kB / 3.207 GB, free: 39.05 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 0.002573/6.147, allocations: 1.245 MB / 3.209 GB, free: 37.76 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/6.147, allocations: 8.031 kB / 3.209 GB, free: 37.75 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/6.149, allocations: 342.3 kB / 3.209 GB, free: 37.42 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/6.151, allocations: 0.7888 MB / 3.21 GB, free: 36.58 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/6.152, allocations: 109.9 kB / 3.21 GB, free: 36.48 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/6.152, allocations: 52 kB / 3.21 GB, free: 36.43 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/6.153, allocations: 0.699 MB / 3.211 GB, free: 35.73 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/6.154, allocations: 0.8903 MB / 3.211 GB, free: 34.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/6.154, allocations: 4 kB / 3.211 GB, free: 34.79 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/6.155, allocations: 7.891 kB / 3.211 GB, free: 34.79 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/6.155, allocations: 34 kB / 3.211 GB, free: 34.75 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/6.16, allocations: 3.906 MB / 3.215 GB, free: 30.61 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/6.16, allocations: 373.2 kB / 3.216 GB, free: 30.24 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/6.16, allocations: 207.4 kB / 3.216 GB, free: 30.04 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/6.161, allocations: 93.09 kB / 3.216 GB, free: 29.93 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/6.161, allocations: 43.16 kB / 3.216 GB, free: 29.88 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/6.161, allocations: 0 / 3.216 GB, free: 29.88 MB / 0.6982 GB Notification: Performance of matching and sorting (n=38): time 0.002252/6.163, allocations: 1.111 MB / 3.217 GB, free: 28.71 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/6.163, allocations: 59.41 kB / 3.217 GB, free: 28.64 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/6.164, allocations: 0.5583 MB / 3.218 GB, free: 28.08 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/6.164, allocations: 25.7 kB / 3.218 GB, free: 28.05 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/6.164, allocations: 418.3 kB / 3.218 GB, free: 27.63 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/6.164, allocations: 126.1 kB / 3.218 GB, free: 27.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/6.164, allocations: 0 / 3.218 GB, free: 27.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001002/6.164, allocations: 386.7 kB / 3.219 GB, free: 27.12 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/6.164, allocations: 189.2 kB / 3.219 GB, free: 26.93 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/6.165, allocations: 375 kB / 3.219 GB, free: 26.5 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.001641/6.166, allocations: 0.7181 MB / 3.22 GB, free: 25.76 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/6.166, allocations: 0 / 3.22 GB, free: 25.76 MB / 0.6982 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008433/6.167, allocations: 0.6327 MB / 3.22 GB, free: 25.12 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/6.167, allocations: 8 kB / 3.22 GB, free: 25.11 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/6.167, allocations: 4 kB / 3.22 GB, free: 25.11 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/6.167, allocations: 11.94 kB / 3.22 GB, free: 25.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/6.168, allocations: 148.3 kB / 3.221 GB, free: 24.95 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/6.168, allocations: 11.94 kB / 3.221 GB, free: 24.94 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/6.169, allocations: 83.78 kB / 3.221 GB, free: 24.86 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/6.169, allocations: 27.98 kB / 3.221 GB, free: 24.83 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.0001295/6.169, allocations: 124.7 kB / 3.221 GB, free: 24.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/6.169, allocations: 75.16 kB / 3.221 GB, free: 24.63 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/6.169, allocations: 78.78 kB / 3.221 GB, free: 24.55 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/6.169, allocations: 7.984 kB / 3.221 GB, free: 24.54 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/6.169, allocations: 0 / 3.221 GB, free: 24.54 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004707/6.17, allocations: 0.6514 MB / 3.222 GB, free: 23.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/6.172, allocations: 1.451 MB / 3.223 GB, free: 22.26 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/6.172, allocations: 4 kB / 3.223 GB, free: 22.25 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/6.172, allocations: 87.89 kB / 3.223 GB, free: 22.17 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/6.172, allocations: 4.5 kB / 3.223 GB, free: 22.16 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/6.172, allocations: 12 kB / 3.223 GB, free: 22.15 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/6.172, allocations: 11.94 kB / 3.223 GB, free: 22.14 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/6.172, allocations: 4 kB / 3.223 GB, free: 22.14 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008712/6.173, allocations: 0.9812 MB / 3.224 GB, free: 20.98 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/6.173, allocations: 208.2 kB / 3.224 GB, free: 20.76 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/6.173, allocations: 16.05 kB / 3.224 GB, free: 20.75 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/6.174, allocations: 55.81 kB / 3.224 GB, free: 20.69 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/6.174, allocations: 31.81 kB / 3.224 GB, free: 20.66 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/6.174, allocations: 23.98 kB / 3.224 GB, free: 20.64 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004496/6.175, allocations: 443.1 kB / 3.225 GB, free: 20.21 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001174/6.176, allocations: 328 kB / 3.225 GB, free: 19.89 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.002003/6.178, allocations: 1.514 MB / 3.227 GB, free: 18.32 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006755/6.179, allocations: 447.9 kB / 3.227 GB, free: 17.88 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/6.179, allocations: 1.25 kB / 3.227 GB, free: 17.88 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/6.179, allocations: 180.6 kB / 3.227 GB, free: 17.71 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/6.181, allocations: 392.9 kB / 3.228 GB, free: 17.33 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/6.183, allocations: 1.369 MB / 3.229 GB, free: 15.89 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/6.184, allocations: 1.183 MB / 3.23 GB, free: 14.68 MB / 0.6982 GB Notification: Performance of SimCode: time 4.91e-07/6.184, allocations: 0 / 3.23 GB, free: 14.68 MB / 0.6982 GB Notification: Performance of Templates: time 0.4475/6.632, allocations: 21.02 MB / 3.251 GB, free: 187.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)