Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") [: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.7369/0.7369, allocations: 141.8 MB / 149.1 MB, free: 3.898 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.001145/0.001145, allocations: 181.8 kB / 181.9 MB, free: 15.64 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: 8.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.0009667/0.0009668, allocations: 95.66 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 284.5 kB / 0.5885 GB, free: 11.82 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.833e-06, allocations: 0 / 0.6759 GB, free: 2.188 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4686, allocations: 82.76 MB / 0.7567 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.144/4.613, allocations: 1.89 GB / 2.646 GB, free: 186.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/4.613, allocations: 88.7 kB / 2.646 GB, free: 186.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 4.027/8.64, allocations: 1.161 GB / 3.807 GB, free: 92.62 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001887/8.64, allocations: 32.45 kB / 3.807 GB, free: 92.59 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.004851/8.645, allocations: 1.526 MB / 3.808 GB, free: 91.12 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/8.645, allocations: 8.031 kB / 3.808 GB, free: 91.11 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/8.648, allocations: 457.9 kB / 3.809 GB, free: 90.68 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/8.651, allocations: 1.163 MB / 3.81 GB, free: 89.52 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009267/8.652, allocations: 260.8 kB / 3.81 GB, free: 89.29 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/8.653, allocations: 55.89 kB / 3.81 GB, free: 89.23 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001478/8.654, allocations: 0.6275 MB / 3.811 GB, free: 88.61 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/8.656, allocations: 0.9802 MB / 3.812 GB, free: 87.52 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/8.656, allocations: 6.719 kB / 3.812 GB, free: 87.52 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.2e-05/8.656, allocations: 4 kB / 3.812 GB, free: 87.52 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/8.656, allocations: 33.3 kB / 3.812 GB, free: 87.48 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007768/8.664, allocations: 5.628 MB / 3.817 GB, free: 81.71 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/8.664, allocations: 238.1 kB / 3.818 GB, free: 81.43 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/8.665, allocations: 135.8 kB / 3.818 GB, free: 81.29 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/8.665, allocations: 105 kB / 3.818 GB, free: 81.16 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/8.665, allocations: 41.09 kB / 3.818 GB, free: 81.12 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/8.665, allocations: 0 / 3.818 GB, free: 81.12 MB / 0.7138 GB Notification: Performance of matching and sorting (n=20): time 0.001075/8.666, allocations: 327 kB / 3.818 GB, free: 80.8 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/8.666, allocations: 183.9 kB / 3.818 GB, free: 80.57 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/8.667, allocations: 0.7396 MB / 3.819 GB, free: 79.82 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/8.667, allocations: 25.7 kB / 3.819 GB, free: 79.79 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/8.668, allocations: 499.3 kB / 3.82 GB, free: 79.29 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/8.668, allocations: 78.94 kB / 3.82 GB, free: 79.21 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/8.668, allocations: 0 / 3.82 GB, free: 79.21 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/8.668, allocations: 326 kB / 3.82 GB, free: 78.89 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/8.668, allocations: 137.3 kB / 3.82 GB, free: 78.76 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/8.669, allocations: 457.6 kB / 3.821 GB, free: 78.17 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/8.669, allocations: 248.2 kB / 3.821 GB, free: 77.95 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/8.669, allocations: 4 kB / 3.821 GB, free: 77.94 MB / 0.7138 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001246/8.67, allocations: 0.6033 MB / 3.821 GB, free: 77.34 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/8.67, allocations: 4 kB / 3.821 GB, free: 77.33 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/8.671, allocations: 15.75 kB / 3.821 GB, free: 77.32 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/8.671, allocations: 15.91 kB / 3.821 GB, free: 77.3 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/8.671, allocations: 186.1 kB / 3.822 GB, free: 77.13 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/8.671, allocations: 15.94 kB / 3.822 GB, free: 77.11 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/8.673, allocations: 239.5 kB / 3.822 GB, free: 76.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/8.673, allocations: 39.97 kB / 3.822 GB, free: 76.86 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001518/8.673, allocations: 132.7 kB / 3.822 GB, free: 76.73 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/8.674, allocations: 90.88 kB / 3.822 GB, free: 76.64 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/8.674, allocations: 258.7 kB / 3.822 GB, free: 76.39 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/8.674, allocations: 4 kB / 3.822 GB, free: 76.38 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/8.674, allocations: 7.984 kB / 3.822 GB, free: 76.38 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/8.674, allocations: 0 / 3.822 GB, free: 76.38 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/8.677, allocations: 1.842 MB / 3.824 GB, free: 74.44 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/8.677, allocations: 4 kB / 3.824 GB, free: 74.43 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/8.677, allocations: 35.92 kB / 3.824 GB, free: 74.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/8.677, allocations: 8 kB / 3.824 GB, free: 74.39 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/8.677, allocations: 8 kB / 3.824 GB, free: 74.38 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/8.677, allocations: 11.59 kB / 3.824 GB, free: 74.38 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/8.677, allocations: 7.938 kB / 3.824 GB, free: 74.37 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005849/8.678, allocations: 0.6632 MB / 3.825 GB, free: 73.54 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/8.678, allocations: 211.2 kB / 3.825 GB, free: 73.32 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/8.678, allocations: 7.906 kB / 3.825 GB, free: 73.31 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007534/8.679, allocations: 79.45 kB / 3.825 GB, free: 73.24 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/8.679, allocations: 30.55 kB / 3.825 GB, free: 73.21 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/8.679, allocations: 8 kB / 3.825 GB, free: 73.2 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0007609/8.68, allocations: 0.5606 MB / 3.826 GB, free: 72.63 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001816/8.682, allocations: 462.4 kB / 3.826 GB, free: 72.18 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.004291/8.686, allocations: 2.611 MB / 3.829 GB, free: 69.86 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0007888/8.687, allocations: 333.7 kB / 3.829 GB, free: 69.54 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/8.687, allocations: 4 kB / 3.829 GB, free: 69.54 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/8.687, allocations: 99.77 kB / 3.829 GB, free: 69.44 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/8.69, allocations: 399.8 kB / 3.83 GB, free: 69.06 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/8.693, allocations: 1.251 MB / 3.831 GB, free: 67.71 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009783/8.694, allocations: 1.21 MB / 3.832 GB, free: 66.47 MB / 0.7138 GB Notification: Performance of SimCode: time 9.71e-07/8.694, allocations: 0 / 3.832 GB, free: 66.47 MB / 0.7138 GB Notification: Performance of Templates: time 0.04159/8.736, allocations: 26.14 MB / 3.857 GB, free: 40.88 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)