Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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.7304/0.7304, allocations: 127.3 MB / 134.6 MB, free: 4.098 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.002068/0.002069, allocations: 181.3 kB / 164.4 MB, free: 6.898 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.792/1.792, allocations: 205.1 MB / 399.1 MB, free: 6.215 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.00106/0.00106, allocations: 87 kB / 476.3 MB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.725e-06, allocations: 0 / 0.546 GB, free: 42.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1756, allocations: 76.73 MB / 0.6209 GB, free: 13.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.089/5.265, allocations: 2.167 GB / 2.788 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/5.265, allocations: 87.94 kB / 2.788 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.445/8.711, allocations: 0.9906 GB / 3.779 GB, free: 58.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001554/8.711, allocations: 31.52 kB / 3.779 GB, free: 58.08 MB / 0.6667 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.007621/8.718, allocations: 1.749 MB / 3.781 GB, free: 56.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/8.719, allocations: 8.031 kB / 3.781 GB, free: 56.28 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/8.722, allocations: 0.5922 MB / 3.781 GB, free: 55.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/8.725, allocations: 1.072 MB / 3.782 GB, free: 54.59 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006178/8.726, allocations: 181.9 kB / 3.782 GB, free: 54.42 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/8.726, allocations: 52 kB / 3.782 GB, free: 54.37 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001792/8.728, allocations: 1.066 MB / 3.783 GB, free: 53.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/8.729, allocations: 1.025 MB / 3.784 GB, free: 52.26 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/8.729, allocations: 0 / 3.784 GB, free: 52.26 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/8.729, allocations: 0 / 3.784 GB, free: 52.26 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/8.73, allocations: 57.88 kB / 3.785 GB, free: 52.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/8.736, allocations: 4.072 MB / 3.788 GB, free: 47.94 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/8.737, allocations: 0.7607 MB / 3.789 GB, free: 47.18 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/8.738, allocations: 0.4948 MB / 3.79 GB, free: 46.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009921/8.739, allocations: 0.6253 MB / 3.79 GB, free: 45.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/8.739, allocations: 43.12 kB / 3.79 GB, free: 45.89 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 3.947e-06/8.739, allocations: 0 / 3.79 GB, free: 45.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.002974/8.742, allocations: 1.244 MB / 3.792 GB, free: 44.64 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/8.742, allocations: 64.06 kB / 3.792 GB, free: 44.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/8.743, allocations: 0.5473 MB / 3.792 GB, free: 44.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.326e-05/8.743, allocations: 29.7 kB / 3.792 GB, free: 43.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/8.743, allocations: 328.2 kB / 3.793 GB, free: 43.65 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/8.743, allocations: 252.2 kB / 3.793 GB, free: 43.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/8.743, allocations: 3.938 kB / 3.793 GB, free: 43.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001254/8.743, allocations: 337.9 kB / 3.793 GB, free: 43.06 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/8.744, allocations: 417.4 kB / 3.793 GB, free: 42.65 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/8.745, allocations: 0.5378 MB / 3.794 GB, free: 42.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/8.746, allocations: 0.6237 MB / 3.795 GB, free: 41.45 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/8.746, allocations: 0 / 3.795 GB, free: 41.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002129/8.748, allocations: 1.241 MB / 3.796 GB, free: 40.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/8.748, allocations: 364.8 kB / 3.796 GB, free: 39.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/8.748, allocations: 0 / 3.796 GB, free: 39.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/8.748, allocations: 4 kB / 3.796 GB, free: 39.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/8.751, allocations: 463.5 kB / 3.797 GB, free: 39.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/8.753, allocations: 1.348 MB / 3.798 GB, free: 37.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/8.754, allocations: 195.4 kB / 3.798 GB, free: 37.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/8.755, allocations: 39.97 kB / 3.798 GB, free: 37.74 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/8.755, allocations: 4 kB / 3.798 GB, free: 37.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001944/8.756, allocations: 1.084 MB / 3.799 GB, free: 36.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/8.757, allocations: 4 kB / 3.799 GB, free: 36.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/8.757, allocations: 4 kB / 3.799 GB, free: 36.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/8.758, allocations: 267.7 kB / 3.799 GB, free: 36.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/8.758, allocations: 15.86 kB / 3.799 GB, free: 36.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/8.759, allocations: 183.3 kB / 3.8 GB, free: 36.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/8.759, allocations: 36.59 kB / 3.8 GB, free: 36.15 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (85): * Single equations (assignments): 82 * 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.0002795/8.76, allocations: 112.9 kB / 3.8 GB, free: 36.04 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/8.76, allocations: 94.88 kB / 3.8 GB, free: 35.94 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/8.762, allocations: 1.286 MB / 3.801 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/8.762, allocations: 8 kB / 3.801 GB, free: 34.63 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/8.762, allocations: 0 / 3.801 GB, free: 34.63 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/8.762, allocations: 7.984 kB / 3.801 GB, free: 34.62 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004317/8.767, allocations: 2.63 MB / 3.804 GB, free: 31.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/8.767, allocations: 11.92 kB / 3.804 GB, free: 31.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/8.769, allocations: 471.8 kB / 3.804 GB, free: 31.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/8.769, allocations: 12 kB / 3.804 GB, free: 31.45 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/8.77, allocations: 19.97 kB / 3.804 GB, free: 31.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/8.773, allocations: 2.914 MB / 3.807 GB, free: 28.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/8.773, allocations: 7.938 kB / 3.807 GB, free: 28.27 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002545/8.776, allocations: 1.531 MB / 3.809 GB, free: 26.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008336/8.777, allocations: 299.6 kB / 3.809 GB, free: 26.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/8.777, allocations: 11.84 kB / 3.809 GB, free: 26.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/8.779, allocations: 171.8 kB / 3.809 GB, free: 26.11 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/8.779, allocations: 52.33 kB / 3.809 GB, free: 26.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/8.779, allocations: 39.97 kB / 3.809 GB, free: 26.02 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007676/8.78, allocations: 435.1 kB / 3.81 GB, free: 25.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002916/8.783, allocations: 0.6862 MB / 3.81 GB, free: 24.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * 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.004194/8.787, allocations: 2.658 MB / 3.813 GB, free: 22.15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005035/8.792, allocations: 1.859 MB / 3.815 GB, free: 20.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/8.792, allocations: 8.125 kB / 3.815 GB, free: 20.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002949/8.795, allocations: 0.8184 MB / 3.815 GB, free: 19.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/8.798, allocations: 415.8 kB / 3.816 GB, free: 19.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/8.814, allocations: 2.4 MB / 3.818 GB, free: 16.57 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/8.815, allocations: 1.23 MB / 3.819 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of SimCode: time 1.222e-06/8.815, allocations: 0 / 3.819 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of Templates: time 0.4627/9.278, allocations: 38.68 MB / 3.857 GB, free: 142.1 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)