Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [: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.7901/0.7901, allocations: 141.8 MB / 149.1 MB, free: 7.375 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.001259/0.001259, allocations: 177.8 kB / 181.9 MB, free: 4.738 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.611/1.611, allocations: 221.4 MB / 436 MB, free: 12.44 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 99.48 kB / 0.507 GB, free: 16.38 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 271.2 kB / 0.5884 GB, free: 14.74 MB / 458.9 MB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.548e-06, allocations: 2.25 kB / 0.6759 GB, free: 129.6 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2006, allocations: 82.78 MB / 0.7567 GB, free: 59.29 MB / 0.495 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/5.051, allocations: 1.855 GB / 2.612 GB, free: 98.61 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/5.052, allocations: 87.7 kB / 2.612 GB, free: 98.53 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.921/8.973, allocations: 1.01 GB / 3.623 GB, free: 106.1 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.0002491/8.973, allocations: 41.5 kB / 3.623 GB, free: 106.1 MB / 0.7294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008538/8.982, allocations: 1.816 MB / 3.624 GB, free: 105.4 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/8.982, allocations: 7.219 kB / 3.624 GB, free: 105.4 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/8.986, allocations: 0.595 MB / 3.625 GB, free: 105.3 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/8.99, allocations: 1.089 MB / 3.626 GB, free: 105 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006815/8.99, allocations: 173.9 kB / 3.626 GB, free: 105 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004507/8.991, allocations: 54.28 kB / 3.626 GB, free: 105 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002419/8.993, allocations: 1.01 MB / 3.627 GB, free: 105 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/8.996, allocations: 1.05 MB / 3.628 GB, free: 104.9 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/8.996, allocations: 0 / 3.628 GB, free: 104.9 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/8.996, allocations: 1.438 kB / 3.628 GB, free: 104.9 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.25e-05/8.996, allocations: 43.53 kB / 3.628 GB, free: 104.9 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008955/9.005, allocations: 4.099 MB / 3.632 GB, free: 103.4 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/9.006, allocations: 0.7236 MB / 3.633 GB, free: 103.4 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/9.007, allocations: 0.5043 MB / 3.633 GB, free: 103.4 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/9.008, allocations: 0.6209 MB / 3.634 GB, free: 102.8 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/9.008, allocations: 41.09 kB / 3.634 GB, free: 102.8 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=76): time 4.729e-06/9.008, allocations: 2.5 kB / 3.634 GB, free: 102.8 MB / 0.7294 GB Notification: Performance of matching and sorting (n=76): time 0.003288/9.012, allocations: 1.2 MB / 3.635 GB, free: 102.7 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/9.012, allocations: 57.97 kB / 3.635 GB, free: 102.6 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/9.013, allocations: 0.5667 MB / 3.636 GB, free: 102.5 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/9.013, allocations: 29.2 kB / 3.636 GB, free: 102.5 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/9.013, allocations: 330 kB / 3.636 GB, free: 102.3 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/9.014, allocations: 249.8 kB / 3.636 GB, free: 102.2 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/9.014, allocations: 3 kB / 3.636 GB, free: 102.2 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/9.014, allocations: 334.5 kB / 3.637 GB, free: 101.9 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/9.015, allocations: 406.4 kB / 3.637 GB, free: 101.9 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/9.015, allocations: 0.5379 MB / 3.638 GB, free: 101.8 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/9.017, allocations: 0.6142 MB / 3.638 GB, free: 101.8 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/9.017, allocations: 0 / 3.638 GB, free: 101.8 MB / 0.7294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002497/9.019, allocations: 1.218 MB / 3.64 GB, free: 101.7 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/9.02, allocations: 456.4 kB / 3.64 GB, free: 101.2 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/9.02, allocations: 6.812 kB / 3.64 GB, free: 101.2 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/9.02, allocations: 3.719 kB / 3.64 GB, free: 101.2 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/9.021, allocations: 291.4 kB / 3.64 GB, free: 101.2 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/9.022, allocations: 1.206 MB / 3.641 GB, free: 100.1 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/9.024, allocations: 184.8 kB / 3.642 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/9.024, allocations: 39.19 kB / 3.642 GB, free: 100 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/9.024, allocations: 4.781 kB / 3.642 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/9.026, allocations: 1.099 MB / 3.643 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/9.026, allocations: 0 / 3.643 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/9.026, allocations: 6.875 kB / 3.643 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/9.028, allocations: 276.7 kB / 3.643 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/9.028, allocations: 7.422 kB / 3.643 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/9.029, allocations: 185 kB / 3.643 GB, free: 100 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/9.03, allocations: 35.75 kB / 3.643 GB, free: 100 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004362/9.03, allocations: 120.2 kB / 3.643 GB, free: 99.89 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/9.031, allocations: 98.84 kB / 3.643 GB, free: 99.84 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/9.034, allocations: 1.265 MB / 3.645 GB, free: 99.78 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/9.034, allocations: 8.969 kB / 3.645 GB, free: 99.78 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/9.034, allocations: 0 / 3.645 GB, free: 99.78 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/9.034, allocations: 3.656 kB / 3.645 GB, free: 99.78 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/9.039, allocations: 2.649 MB / 3.647 GB, free: 99.34 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/9.039, allocations: 3.438 kB / 3.647 GB, free: 99.34 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/9.041, allocations: 278.9 kB / 3.648 GB, free: 99.34 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/9.041, allocations: 3.906 kB / 3.648 GB, free: 99.34 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.771e-05/9.041, allocations: 13.75 kB / 3.648 GB, free: 99.34 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005103/9.041, allocations: 1.208 MB / 3.649 GB, free: 98.16 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/9.041, allocations: 3.406 kB / 3.649 GB, free: 98.16 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002792/9.044, allocations: 1.542 MB / 3.65 GB, free: 97.61 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009012/9.045, allocations: 304.5 kB / 3.65 GB, free: 97.45 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/9.045, allocations: 9.016 kB / 3.651 GB, free: 97.45 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/9.047, allocations: 162.3 kB / 3.651 GB, free: 97.45 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/9.047, allocations: 67.72 kB / 3.651 GB, free: 97.45 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/9.048, allocations: 37.22 kB / 3.651 GB, free: 97.45 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.0009278/9.049, allocations: 439.6 kB / 3.651 GB, free: 97.35 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.003514/9.052, allocations: 0.6812 MB / 3.652 GB, free: 97.28 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005347/9.057, allocations: 2.637 MB / 3.654 GB, free: 96.41 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.004084/9.061, allocations: 1.61 MB / 3.656 GB, free: 96.33 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/9.062, allocations: 0.625 kB / 3.656 GB, free: 96.33 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/9.063, allocations: 0.5357 MB / 3.657 GB, free: 96.32 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/9.066, allocations: 411.5 kB / 3.657 GB, free: 96.32 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/9.083, allocations: 2.438 MB / 3.659 GB, free: 95.84 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/9.085, allocations: 1.233 MB / 3.66 GB, free: 95.12 MB / 0.7294 GB Notification: Performance of SimCode: time 1.092e-06/9.085, allocations: 0 / 3.66 GB, free: 95.12 MB / 0.7294 GB Notification: Performance of Templates: time 0.07295/9.158, allocations: 38.4 MB / 3.698 GB, free: 87.86 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)