Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [: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.7609/0.7609, allocations: 141.8 MB / 149.1 MB, free: 14.4 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 179 kB / 182 MB, free: 10.91 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.423/1.423, allocations: 221.3 MB / 436 MB, free: 3.422 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.0009448/0.0009448, allocations: 95.22 kB / 0.507 GB, free: 18.35 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 273.1 kB / 0.5885 GB, free: 4.898 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.137e-06, allocations: 2.812 kB / 0.6759 GB, free: 137.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1803, allocations: 82.76 MB / 0.7567 GB, free: 85.33 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.166/4.347, allocations: 1.889 GB / 2.646 GB, free: 59.46 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/4.347, allocations: 84.77 kB / 2.646 GB, free: 59.42 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.518/6.865, allocations: 0.6148 GB / 3.261 GB, free: 97.61 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 5.507e-05/6.865, allocations: 19 kB / 3.261 GB, free: 97.61 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00213/6.867, allocations: 1.036 MB / 3.262 GB, free: 97.24 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/6.867, allocations: 7.156 kB / 3.262 GB, free: 97.24 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009295/6.868, allocations: 202 kB / 3.262 GB, free: 97.2 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/6.869, allocations: 0.5398 MB / 3.262 GB, free: 96.96 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/6.869, allocations: 99.58 kB / 3.263 GB, free: 96.96 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/6.87, allocations: 35.19 kB / 3.263 GB, free: 96.96 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005496/6.87, allocations: 322.9 kB / 3.263 GB, free: 96.96 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/6.871, allocations: 0.6492 MB / 3.263 GB, free: 96.67 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/6.871, allocations: 10.31 kB / 3.263 GB, free: 96.67 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/6.871, allocations: 3.906 kB / 3.263 GB, free: 96.67 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/6.871, allocations: 22.66 kB / 3.264 GB, free: 96.67 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/6.874, allocations: 4.085 MB / 3.268 GB, free: 93.63 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/6.874, allocations: 98.62 kB / 3.268 GB, free: 93.54 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/6.874, allocations: 73.95 kB / 3.268 GB, free: 93.5 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/6.874, allocations: 98.52 kB / 3.268 GB, free: 93.41 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/6.874, allocations: 45.08 kB / 3.268 GB, free: 93.37 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/6.874, allocations: 0 / 3.268 GB, free: 93.37 MB / 0.7138 GB Notification: Performance of matching and sorting (n=10): time 0.000464/6.875, allocations: 164.5 kB / 3.268 GB, free: 93.31 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/6.875, allocations: 128.5 kB / 3.268 GB, free: 93.16 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/6.875, allocations: 453.3 kB / 3.269 GB, free: 93.04 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/6.875, allocations: 25.7 kB / 3.269 GB, free: 93.01 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/6.876, allocations: 354.9 kB / 3.269 GB, free: 92.82 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/6.876, allocations: 33.06 kB / 3.269 GB, free: 92.8 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/6.876, allocations: 3.812 kB / 3.269 GB, free: 92.8 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/6.876, allocations: 363.8 kB / 3.269 GB, free: 92.49 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/6.876, allocations: 75.73 kB / 3.269 GB, free: 92.49 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/6.876, allocations: 319.3 kB / 3.27 GB, free: 92.2 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/6.876, allocations: 147.4 kB / 3.27 GB, free: 92.19 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/6.876, allocations: 0 / 3.27 GB, free: 92.19 MB / 0.7138 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005274/6.877, allocations: 374.6 kB / 3.27 GB, free: 92.13 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/6.877, allocations: 7.594 kB / 3.27 GB, free: 92.13 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/6.877, allocations: 3.719 kB / 3.27 GB, free: 92.13 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/6.877, allocations: 13.72 kB / 3.27 GB, free: 92.13 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/6.877, allocations: 101.9 kB / 3.27 GB, free: 92.13 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/6.877, allocations: 9.281 kB / 3.27 GB, free: 92.13 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/6.878, allocations: 105.7 kB / 3.27 GB, free: 92.12 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/6.878, allocations: 22.19 kB / 3.27 GB, free: 92.12 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.296e-05/6.878, allocations: 123.2 kB / 3.271 GB, free: 92.02 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/6.878, allocations: 54.16 kB / 3.271 GB, free: 91.99 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/6.878, allocations: 53 kB / 3.271 GB, free: 91.98 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/6.878, allocations: 3.094 kB / 3.271 GB, free: 91.98 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/6.878, allocations: 3.875 kB / 3.271 GB, free: 91.98 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/6.878, allocations: 0 / 3.271 GB, free: 91.98 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/6.879, allocations: 1.03 MB / 3.272 GB, free: 91.33 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/6.879, allocations: 11.03 kB / 3.272 GB, free: 91.33 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/6.879, allocations: 19.75 kB / 3.272 GB, free: 91.33 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/6.879, allocations: 3.781 kB / 3.272 GB, free: 91.33 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/6.879, allocations: 2.953 kB / 3.272 GB, free: 91.33 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/6.879, allocations: 6.094 kB / 3.272 GB, free: 91.33 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/6.879, allocations: 7.344 kB / 3.272 GB, free: 91.32 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002399/6.88, allocations: 343 kB / 3.272 GB, free: 91.02 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/6.88, allocations: 142 kB / 3.272 GB, free: 90.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/6.88, allocations: 3.5 kB / 3.272 GB, free: 90.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/6.88, allocations: 28.94 kB / 3.272 GB, free: 90.9 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/6.88, allocations: 16.25 kB / 3.272 GB, free: 90.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/6.88, allocations: 6.438 kB / 3.272 GB, free: 90.9 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0003245/6.88, allocations: 340.6 kB / 3.273 GB, free: 90.81 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001052/6.881, allocations: 297.1 kB / 3.273 GB, free: 90.8 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002581/6.884, allocations: 1.941 MB / 3.275 GB, free: 90.32 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0003336/6.884, allocations: 190.8 kB / 3.275 GB, free: 90.32 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/6.884, allocations: 2.531 kB / 3.275 GB, free: 90.32 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/6.885, allocations: 40.89 kB / 3.275 GB, free: 90.32 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/6.885, allocations: 190 kB / 3.275 GB, free: 90.31 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/6.887, allocations: 0.7084 MB / 3.276 GB, free: 90 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/6.887, allocations: 0.9925 MB / 3.277 GB, free: 89.3 MB / 0.7138 GB Notification: Performance of SimCode: time 5.11e-07/6.887, allocations: 0 / 3.277 GB, free: 89.3 MB / 0.7138 GB Notification: Performance of Templates: time 0.02639/6.914, allocations: 16.63 MB / 3.293 GB, free: 89 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)