Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") [: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.8501/0.8501, allocations: 141.8 MB / 149.1 MB, free: 1.586 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.00208/0.00208, allocations: 181.4 kB / 182 MB, free: 1 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.468/1.468, allocations: 221.3 MB / 436 MB, free: 5.781 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.001109/0.001109, allocations: 104 kB / 0.507 GB, free: 2.461 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001949/0.001949, allocations: 280.7 kB / 0.5885 GB, free: 47.45 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 7.203e-06/7.244e-06, allocations: 1.188 kB / 0.6759 GB, free: 59.65 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 82.77 MB / 0.7567 GB, free: 0.9102 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.991/4.191, allocations: 1.881 GB / 2.638 GB, free: 199.2 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/4.191, allocations: 87.2 kB / 2.638 GB, free: 199.2 MB / 0.7138 GB Notification: Performance of FrontEnd: time 1.189/5.38, allocations: 371.6 MB / 3.001 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 9.345e-05/5.38, allocations: 18.03 kB / 3.001 GB, free: 113.6 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00231/5.383, allocations: 0.8717 MB / 3.002 GB, free: 112.7 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/5.383, allocations: 8.031 kB / 3.002 GB, free: 112.7 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/5.384, allocations: 186.9 kB / 3.002 GB, free: 112.5 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/5.386, allocations: 0.5585 MB / 3.002 GB, free: 111.9 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/5.386, allocations: 12 kB / 3.002 GB, free: 111.9 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/5.386, allocations: 32 kB / 3.002 GB, free: 111.9 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007152/5.387, allocations: 353.9 kB / 3.003 GB, free: 111.5 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/5.387, allocations: 364.5 kB / 3.003 GB, free: 111.2 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/5.387, allocations: 0 / 3.003 GB, free: 111.2 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/5.387, allocations: 0 / 3.003 GB, free: 111.2 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/5.387, allocations: 20.98 kB / 3.003 GB, free: 111.1 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/5.39, allocations: 1.964 MB / 3.005 GB, free: 109.1 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/5.391, allocations: 173.2 kB / 3.005 GB, free: 108.9 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/5.391, allocations: 171.9 kB / 3.005 GB, free: 108.7 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/5.391, allocations: 183.2 kB / 3.005 GB, free: 108.5 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/5.391, allocations: 46.55 kB / 3.005 GB, free: 108.4 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=30): time 3.035e-06/5.391, allocations: 0 / 3.005 GB, free: 108.4 MB / 0.7138 GB Notification: Performance of matching and sorting (n=30): time 0.001131/5.392, allocations: 386.7 kB / 3.006 GB, free: 108.1 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/5.392, allocations: 55.41 kB / 3.006 GB, free: 108 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/5.393, allocations: 333.1 kB / 3.006 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/5.393, allocations: 29.7 kB / 3.006 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/5.393, allocations: 212.1 kB / 3.006 GB, free: 107.4 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/5.393, allocations: 106.4 kB / 3.007 GB, free: 107.3 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/5.393, allocations: 0 / 3.007 GB, free: 107.3 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/5.393, allocations: 350.8 kB / 3.007 GB, free: 107 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/5.393, allocations: 112 kB / 3.007 GB, free: 106.8 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/5.393, allocations: 199.1 kB / 3.007 GB, free: 106.6 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/5.394, allocations: 135.9 kB / 3.007 GB, free: 106.5 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/5.394, allocations: 0 / 3.007 GB, free: 106.5 MB / 0.7138 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005104/5.394, allocations: 360.9 kB / 3.008 GB, free: 106.1 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/5.394, allocations: 0.5281 MB / 3.008 GB, free: 105.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/5.394, allocations: 4 kB / 3.008 GB, free: 105.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/5.394, allocations: 0 / 3.008 GB, free: 105.6 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/5.395, allocations: 75.91 kB / 3.008 GB, free: 105.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/5.395, allocations: 3.984 kB / 3.008 GB, free: 105.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/5.395, allocations: 55.72 kB / 3.008 GB, free: 105.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/5.395, allocations: 15.98 kB / 3.008 GB, free: 105.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/5.395, allocations: 7.938 kB / 3.008 GB, free: 105.4 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004014/5.396, allocations: 279.7 kB / 3.009 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/5.396, allocations: 0 / 3.009 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/5.396, allocations: 4 kB / 3.009 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/5.396, allocations: 72.06 kB / 3.009 GB, free: 105.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/5.396, allocations: 4 kB / 3.009 GB, free: 105 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/5.397, allocations: 51.7 kB / 3.009 GB, free: 105 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/5.397, allocations: 16 kB / 3.009 GB, free: 105 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001226/5.397, allocations: 108.9 kB / 3.009 GB, free: 104.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/5.397, allocations: 47.44 kB / 3.009 GB, free: 104.8 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006722/5.398, allocations: 372.4 kB / 3.009 GB, free: 104.4 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/5.398, allocations: 4 kB / 3.009 GB, free: 104.4 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/5.398, allocations: 0 / 3.009 GB, free: 104.4 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004642/5.398, allocations: 401.7 kB / 3.01 GB, free: 104 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/5.4, allocations: 1.023 MB / 3.011 GB, free: 102.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/5.4, allocations: 0 / 3.011 GB, free: 102.9 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/5.4, allocations: 60.19 kB / 3.011 GB, free: 102.9 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/5.401, allocations: 56.67 kB / 3.011 GB, free: 102.8 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/5.401, allocations: 7.984 kB / 3.011 GB, free: 102.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/5.402, allocations: 1.389 MB / 3.012 GB, free: 101.3 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/5.402, allocations: 0 / 3.012 GB, free: 101.3 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008737/5.403, allocations: 0.7444 MB / 3.013 GB, free: 100.5 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/5.403, allocations: 160.4 kB / 3.013 GB, free: 100.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/5.403, allocations: 8 kB / 3.013 GB, free: 100.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/5.404, allocations: 43.86 kB / 3.013 GB, free: 100.2 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/5.404, allocations: 19.98 kB / 3.013 GB, free: 100.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/5.404, allocations: 15.98 kB / 3.013 GB, free: 100.2 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.000264/5.404, allocations: 259.2 kB / 3.013 GB, free: 99.96 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001468/5.405, allocations: 383.2 kB / 3.014 GB, free: 99.59 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002407/5.408, allocations: 1.274 MB / 3.015 GB, free: 98.44 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0008243/5.409, allocations: 455.5 kB / 3.015 GB, free: 97.99 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/5.409, allocations: 0 / 3.015 GB, free: 97.99 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/5.409, allocations: 256.9 kB / 3.016 GB, free: 97.73 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/5.411, allocations: 265.4 kB / 3.016 GB, free: 97.48 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/5.413, allocations: 0.8134 MB / 3.017 GB, free: 96.62 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/5.413, allocations: 0.9605 MB / 3.018 GB, free: 95.64 MB / 0.7138 GB Notification: Performance of SimCode: time 4.91e-07/5.413, allocations: 0 / 3.018 GB, free: 95.64 MB / 0.7138 GB Notification: Performance of Templates: time 0.03049/5.444, allocations: 16.83 MB / 3.034 GB, free: 78.94 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)