Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.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/Buildings 1.6.0+build.1/package.mo): time 0.4877/0.4877, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00118/0.00118, allocations: 172.9 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.368/1.368, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001793/0.001793, allocations: 108.9 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 0 / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1483, allocations: 61.52 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.46/13.61, allocations: 5.61 GB / 6.108 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/13.61, allocations: 79.95 kB / 6.108 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.969/16.58, allocations: 0.7297 GB / 6.838 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001548/16.58, allocations: 34.69 kB / 6.838 GB, free: 59.06 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.009138/16.59, allocations: 1.927 MB / 6.84 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/16.59, allocations: 8.688 kB / 6.84 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/16.59, allocations: 167.8 kB / 6.84 GB, free: 58.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/16.6, allocations: 1.208 MB / 6.841 GB, free: 58.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/16.6, allocations: 27.47 kB / 6.841 GB, free: 58.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/16.6, allocations: 61.06 kB / 6.841 GB, free: 58.04 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002826/16.6, allocations: 0.9721 MB / 6.842 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/16.6, allocations: 1.018 MB / 6.843 GB, free: 57.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/16.6, allocations: 2.25 kB / 6.843 GB, free: 57.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/16.6, allocations: 6.188 kB / 6.843 GB, free: 57.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/16.6, allocations: 42.14 kB / 6.843 GB, free: 57.89 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0085/16.61, allocations: 4.148 MB / 6.847 GB, free: 56.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/16.61, allocations: 0.5186 MB / 6.848 GB, free: 55.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/16.61, allocations: 311.8 kB / 6.848 GB, free: 55.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/16.61, allocations: 1.312 MB / 6.849 GB, free: 54.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009232/16.61, allocations: 0.5397 MB / 6.85 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 5.46e-06/16.61, allocations: 3.406 kB / 6.85 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68): time 0.002561/16.62, allocations: 0.751 MB / 6.851 GB, free: 54.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/16.62, allocations: 0.5985 MB / 6.851 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009474/16.62, allocations: 0.5824 MB / 6.852 GB, free: 53.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/16.62, allocations: 31.17 kB / 6.852 GB, free: 53.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/16.62, allocations: 416.6 kB / 6.852 GB, free: 53.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/16.62, allocations: 229.2 kB / 6.852 GB, free: 52.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/16.62, allocations: 0 / 6.852 GB, free: 52.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/16.62, allocations: 338.8 kB / 6.853 GB, free: 52.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/16.62, allocations: 277.1 kB / 6.853 GB, free: 52.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/16.62, allocations: 0.5462 MB / 6.853 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/16.62, allocations: 454.3 kB / 6.854 GB, free: 52.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/16.62, allocations: 3.719 kB / 6.854 GB, free: 52.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002961/16.63, allocations: 0.9465 MB / 6.855 GB, free: 52.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003935/16.63, allocations: 2.011 MB / 6.857 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/16.63, allocations: 3.906 kB / 6.857 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/16.63, allocations: 14.53 kB / 6.857 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/16.63, allocations: 280 kB / 6.857 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009093/16.63, allocations: 1.226 MB / 6.858 GB, free: 49.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/16.63, allocations: 142.5 kB / 6.858 GB, free: 49.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/16.63, allocations: 41.88 kB / 6.858 GB, free: 49.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/16.63, allocations: 6.656 kB / 6.858 GB, free: 49.01 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002364/16.63, allocations: 0.7908 MB / 6.859 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/16.63, allocations: 6.844 kB / 6.859 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/16.63, allocations: 14.78 kB / 6.859 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/16.63, allocations: 233.3 kB / 6.859 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/16.63, allocations: 14.75 kB / 6.859 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/16.64, allocations: 125.9 kB / 6.86 GB, free: 48.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/16.64, allocations: 39.14 kB / 6.86 GB, free: 48.97 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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.000325/16.64, allocations: 132.5 kB / 6.86 GB, free: 48.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/16.64, allocations: 104.2 kB / 6.86 GB, free: 48.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/16.64, allocations: 0.92 MB / 6.861 GB, free: 48.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/16.64, allocations: 11.16 kB / 6.861 GB, free: 48.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/16.64, allocations: 2.625 kB / 6.861 GB, free: 48.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/16.64, allocations: 11.62 kB / 6.861 GB, free: 48.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/16.64, allocations: 2.541 MB / 6.863 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/16.64, allocations: 3.875 kB / 6.863 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/16.65, allocations: 234.6 kB / 6.863 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/16.65, allocations: 7.781 kB / 6.863 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/16.65, allocations: 17.94 kB / 6.863 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007523/16.65, allocations: 1.214 MB / 6.865 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/16.65, allocations: 7.5 kB / 6.865 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002638/16.65, allocations: 1.096 MB / 6.866 GB, free: 45.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/16.65, allocations: 289.5 kB / 6.866 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/16.65, allocations: 3.938 kB / 6.866 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/16.65, allocations: 87.78 kB / 6.866 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/16.65, allocations: 64.31 kB / 6.866 GB, free: 45.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/16.65, allocations: 38.34 kB / 6.866 GB, free: 45.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0007858/16.65, allocations: 467.2 kB / 6.867 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003142/16.66, allocations: 0.8068 MB / 6.867 GB, free: 45.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003399/16.66, allocations: 1.718 MB / 6.869 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003503/16.66, allocations: 1.271 MB / 6.87 GB, free: 45.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/16.66, allocations: 3.344 kB / 6.87 GB, free: 45.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/16.66, allocations: 454.1 kB / 6.871 GB, free: 45.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/16.67, allocations: 370 kB / 6.871 GB, free: 45.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/16.67, allocations: 1.394 MB / 6.873 GB, free: 44.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000815/16.67, allocations: 1.246 MB / 6.874 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of SimCode: time 1.022e-06/16.67, allocations: 0 / 6.874 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.04686/16.72, allocations: 32.29 MB / 6.905 GB, free: 42.96 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe 2>&1)