Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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/BuildSysPro 3.5.0/package.mo): time 0.7634/0.7634, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 181.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.1 MB / 399.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009803/0.0009804, allocations: 95.05 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.767e-06/9.177e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1826, allocations: 76.76 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.502/5.685, allocations: 2.148 GB / 2.769 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/5.685, allocations: 93.16 kB / 2.769 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.013/6.698, allocations: 259.6 MB / 3.022 GB, free: 55.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.607e-05/6.698, allocations: 16 kB / 3.022 GB, free: 55.34 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002407/6.701, allocations: 0.7833 MB / 3.023 GB, free: 54.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/6.701, allocations: 8.031 kB / 3.023 GB, free: 54.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/6.703, allocations: 187.1 kB / 3.023 GB, free: 54.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/6.704, allocations: 0.5429 MB / 3.024 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/6.704, allocations: 16 kB / 3.024 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/6.704, allocations: 31.94 kB / 3.024 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008571/6.705, allocations: 373.9 kB / 3.024 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/6.706, allocations: 464 kB / 3.025 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/6.706, allocations: 0 / 3.025 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.696e-05/6.706, allocations: 0 / 3.025 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/6.706, allocations: 17 kB / 3.025 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/6.709, allocations: 1.633 MB / 3.026 GB, free: 51.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/6.709, allocations: 190.4 kB / 3.026 GB, free: 50.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/6.71, allocations: 149.4 kB / 3.027 GB, free: 50.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/6.71, allocations: 190.2 kB / 3.027 GB, free: 50.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/6.71, allocations: 46.44 kB / 3.027 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 2.866e-06/6.71, allocations: 0 / 3.027 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.001919/6.712, allocations: 0.7973 MB / 3.028 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/6.712, allocations: 51.64 kB / 3.028 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/6.712, allocations: 310 kB / 3.028 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/6.712, allocations: 29.7 kB / 3.028 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/6.712, allocations: 231.7 kB / 3.028 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/6.713, allocations: 94.56 kB / 3.028 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/6.713, allocations: 0 / 3.028 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001289/6.713, allocations: 350.8 kB / 3.029 GB, free: 48.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/6.713, allocations: 104.6 kB / 3.029 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/6.713, allocations: 194.4 kB / 3.029 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/6.713, allocations: 147.8 kB / 3.029 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/6.713, allocations: 4 kB / 3.029 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004971/6.714, allocations: 352.9 kB / 3.029 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/6.714, allocations: 4 kB / 3.029 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/6.714, allocations: 0 / 3.029 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/6.714, allocations: 7.938 kB / 3.029 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/6.714, allocations: 68.16 kB / 3.029 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/6.714, allocations: 4 kB / 3.029 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/6.715, allocations: 19.89 kB / 3.029 GB, free: 47.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/6.715, allocations: 19.94 kB / 3.029 GB, free: 47.58 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001436/6.715, allocations: 112.9 kB / 3.03 GB, free: 47.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/6.715, allocations: 47.52 kB / 3.03 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/6.715, allocations: 52.3 kB / 3.03 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/6.715, allocations: 3.906 kB / 3.03 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/6.715, allocations: 0 / 3.03 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003561/6.715, allocations: 352.4 kB / 3.03 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/6.717, allocations: 0.9813 MB / 3.031 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/6.717, allocations: 0 / 3.031 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/6.717, allocations: 63.97 kB / 3.031 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/6.717, allocations: 4 kB / 3.031 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/6.717, allocations: 12.25 kB / 3.031 GB, free: 45.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/6.717, allocations: 4 kB / 3.031 GB, free: 45.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/6.717, allocations: 7.984 kB / 3.031 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007478/6.718, allocations: 0.7195 MB / 3.032 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/6.718, allocations: 160.6 kB / 3.032 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/6.718, allocations: 11.89 kB / 3.032 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/6.719, allocations: 24.05 kB / 3.032 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/6.719, allocations: 19.88 kB / 3.032 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/6.719, allocations: 16.05 kB / 3.032 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002457/6.719, allocations: 240.6 kB / 3.032 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008559/6.72, allocations: 192 kB / 3.032 GB, free: 44.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001927/6.722, allocations: 1.097 MB / 3.033 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005291/6.723, allocations: 264.2 kB / 3.034 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/6.723, allocations: 8.062 kB / 3.034 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/6.723, allocations: 131.8 kB / 3.034 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/6.724, allocations: 232.8 kB / 3.034 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/6.726, allocations: 0.7841 MB / 3.035 GB, free: 41.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/6.726, allocations: 0.9359 MB / 3.036 GB, free: 40.81 MB / 0.6355 GB Notification: Performance of SimCode: time 3.2e-07/6.726, allocations: 0 / 3.036 GB, free: 40.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.02289/6.749, allocations: 13.51 MB / 3.049 GB, free: 27.37 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)