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.7507/0.7507, allocations: 127.4 MB / 134.6 MB, free: 4.145 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.001203/0.001203, allocations: 181.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001181/0.001181, allocations: 92.12 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.908e-06/1.018e-05, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2315, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.259/6.491, allocations: 2.167 GB / 2.788 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/6.491, allocations: 86.22 kB / 2.788 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.096/10.59, allocations: 0.9906 GB / 3.779 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001839/10.59, allocations: 36.16 kB / 3.779 GB, free: 5.293 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.007101/10.59, allocations: 1.743 MB / 3.781 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/10.59, allocations: 8.031 kB / 3.781 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/10.6, allocations: 0.5916 MB / 3.781 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003758/10.6, allocations: 1.07 MB / 3.782 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006565/10.6, allocations: 181.9 kB / 3.782 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/10.6, allocations: 52 kB / 3.782 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002493/10.61, allocations: 1.062 MB / 3.783 GB, free: 500 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/10.61, allocations: 1.037 MB / 3.784 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/10.61, allocations: 0 / 3.784 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/10.61, allocations: 4 kB / 3.784 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.193e-05/10.61, allocations: 45.89 kB / 3.785 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009561/10.62, allocations: 4.063 MB / 3.788 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/10.62, allocations: 0.7623 MB / 3.789 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/10.62, allocations: 0.4986 MB / 3.79 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/10.62, allocations: 0.6163 MB / 3.79 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/10.62, allocations: 47.12 kB / 3.79 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 7.264e-06/10.62, allocations: 3.984 kB / 3.79 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.004555/10.63, allocations: 1.252 MB / 3.792 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/10.63, allocations: 56.06 kB / 3.792 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/10.63, allocations: 0.5434 MB / 3.792 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/10.63, allocations: 29.7 kB / 3.792 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/10.63, allocations: 328.2 kB / 3.793 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/10.63, allocations: 248.2 kB / 3.793 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/10.63, allocations: 0 / 3.793 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001645/10.63, allocations: 341.8 kB / 3.793 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/10.63, allocations: 425.4 kB / 3.793 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/10.63, allocations: 0.5417 MB / 3.794 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/10.63, allocations: 0.6237 MB / 3.795 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/10.63, allocations: 0 / 3.795 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002757/10.64, allocations: 1.237 MB / 3.796 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002326/10.64, allocations: 366.6 kB / 3.796 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/10.64, allocations: 0 / 3.796 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/10.64, allocations: 4 kB / 3.796 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/10.64, allocations: 463.5 kB / 3.797 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/10.64, allocations: 1.348 MB / 3.798 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/10.64, allocations: 199.4 kB / 3.798 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/10.64, allocations: 35.97 kB / 3.798 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/10.64, allocations: 6.5 kB / 3.798 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5179/11.16, allocations: 1.09 MB / 3.799 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/11.16, allocations: 7.281 kB / 3.799 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/11.16, allocations: 3.812 kB / 3.799 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/11.16, allocations: 261.6 kB / 3.799 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/11.16, allocations: 7.062 kB / 3.799 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/11.16, allocations: 177.3 kB / 3.8 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/11.16, allocations: 45.23 kB / 3.8 GB, free: 100.5 MB / 0.6823 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.000283/11.16, allocations: 119.2 kB / 3.8 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/11.17, allocations: 90.53 kB / 3.8 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/11.17, allocations: 1.288 MB / 3.801 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/11.17, allocations: 7.469 kB / 3.801 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/11.17, allocations: 0 / 3.801 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/11.17, allocations: 3.75 kB / 3.801 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/11.17, allocations: 2.641 MB / 3.804 GB, free: 99.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/11.17, allocations: 10.16 kB / 3.804 GB, free: 99.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/11.18, allocations: 471.9 kB / 3.804 GB, free: 99.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/11.18, allocations: 7.406 kB / 3.804 GB, free: 99.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/11.18, allocations: 19.12 kB / 3.804 GB, free: 99.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003806/11.18, allocations: 2.923 MB / 3.807 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/11.18, allocations: 3.625 kB / 3.807 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002396/11.18, allocations: 1.534 MB / 3.809 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/11.18, allocations: 293.5 kB / 3.809 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/11.18, allocations: 3.594 kB / 3.809 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/11.18, allocations: 173.1 kB / 3.809 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/11.18, allocations: 54.33 kB / 3.809 GB, free: 96.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/11.18, allocations: 39.23 kB / 3.809 GB, free: 96.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006332/11.18, allocations: 438.9 kB / 3.81 GB, free: 96.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002249/11.19, allocations: 0.681 MB / 3.81 GB, free: 96.7 MB / 0.6823 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.003701/11.19, allocations: 2.651 MB / 3.813 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004773/11.2, allocations: 1.859 MB / 3.815 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/11.2, allocations: 0 / 3.815 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/11.2, allocations: 0.8161 MB / 3.815 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/11.2, allocations: 407.3 kB / 3.816 GB, free: 95.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/11.22, allocations: 2.409 MB / 3.818 GB, free: 95.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/11.22, allocations: 1.224 MB / 3.819 GB, free: 94.65 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/11.22, allocations: 2.719 kB / 3.819 GB, free: 94.65 MB / 0.6823 GB Notification: Performance of Templates: time 0.07003/11.29, allocations: 38.7 MB / 3.857 GB, free: 93.98 MB / 0.6823 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)