Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 174.5 kB / 7.449 MB, free: 2.309 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.598/0.598, allocations: 133.5 MB / 141.4 MB, free: 15.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 221.3 MB / 395 MB, free: 10.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008308/0.0008308, allocations: 97.97 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.921e-06, allocations: 2.25 kB / 0.5528 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7212/0.8353, allocations: 362.7 MB / 0.9875 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.8356, allocations: 86.22 kB / 0.9875 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.259/3.095, allocations: 0.953 GB / 1.941 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001188/3.095, allocations: 53.92 kB / 1.941 GB, free: 76.05 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.002573/3.098, allocations: 1.871 MB / 1.942 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/3.098, allocations: 11.06 kB / 1.942 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/3.101, allocations: 0.6596 MB / 1.943 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/3.104, allocations: 1.458 MB / 1.945 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/3.104, allocations: 32.41 kB / 1.945 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/3.104, allocations: 65.72 kB / 1.945 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001486/3.105, allocations: 0.8626 MB / 1.945 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/3.107, allocations: 1.053 MB / 1.946 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/3.107, allocations: 0.9688 kB / 1.946 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/3.107, allocations: 2.875 kB / 1.946 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/3.107, allocations: 27.53 kB / 1.947 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00672/3.114, allocations: 6.456 MB / 1.953 GB, free: 66.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/3.115, allocations: 0.8678 MB / 1.954 GB, free: 66.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/3.116, allocations: 0.5087 MB / 1.954 GB, free: 66.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/3.117, allocations: 2.264 MB / 1.956 GB, free: 63.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/3.118, allocations: 0.6394 MB / 1.957 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 3.086e-06/3.118, allocations: 0 / 1.957 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.003113/3.121, allocations: 1.383 MB / 1.958 GB, free: 62.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/3.121, allocations: 146.9 kB / 1.958 GB, free: 62.31 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/3.122, allocations: 0.8776 MB / 1.959 GB, free: 61.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.358e-05/3.122, allocations: 33.11 kB / 1.959 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/3.122, allocations: 444.8 kB / 1.96 GB, free: 61.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/3.122, allocations: 312.5 kB / 1.96 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/3.123, allocations: 1.438 kB / 1.96 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.56e-05/3.123, allocations: 346.8 kB / 1.96 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/3.123, allocations: 412 kB / 1.961 GB, free: 60.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/3.124, allocations: 0.6434 MB / 1.961 GB, free: 60.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/3.126, allocations: 0.7242 MB / 1.962 GB, free: 59.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/3.126, allocations: 0 / 1.962 GB, free: 59.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002714/3.128, allocations: 1.475 MB / 1.964 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002398/3.129, allocations: 1.614 MB / 1.965 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/3.129, allocations: 4 kB / 1.965 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/3.129, allocations: 8 kB / 1.965 GB, free: 56.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/3.13, allocations: 301 kB / 1.965 GB, free: 55.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/3.13, allocations: 14.7 kB / 1.965 GB, free: 55.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/3.131, allocations: 210.1 kB / 1.966 GB, free: 55.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/3.131, allocations: 59.97 kB / 1.966 GB, free: 55.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/3.131, allocations: 4 kB / 1.966 GB, free: 55.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002506/3.134, allocations: 1.29 MB / 1.967 GB, free: 54.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/3.134, allocations: 7.906 kB / 1.967 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/3.134, allocations: 8 kB / 1.967 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/3.135, allocations: 295.7 kB / 1.967 GB, free: 54.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/3.135, allocations: 11.94 kB / 1.967 GB, free: 54.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/3.136, allocations: 204.9 kB / 1.968 GB, free: 53.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/3.136, allocations: 63.88 kB / 1.968 GB, free: 53.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0002039/3.137, allocations: 228.8 kB / 1.968 GB, free: 53.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/3.137, allocations: 158.1 kB / 1.968 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/3.14, allocations: 2.115 MB / 1.97 GB, free: 51.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/3.14, allocations: 23.89 kB / 1.97 GB, free: 51.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/3.14, allocations: 0 / 1.97 GB, free: 51.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/3.14, allocations: 3.984 kB / 1.97 GB, free: 51.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/3.145, allocations: 3.202 MB / 1.973 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/3.145, allocations: 4.156 kB / 1.973 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/3.147, allocations: 248.6 kB / 1.973 GB, free: 47.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/3.147, allocations: 4 kB / 1.973 GB, free: 47.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/3.147, allocations: 35.97 kB / 1.973 GB, free: 47.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/3.147, allocations: 4 kB / 1.973 GB, free: 47.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/3.147, allocations: 11.88 kB / 1.973 GB, free: 47.71 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003646/3.15, allocations: 2.674 MB / 1.976 GB, free: 44.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/3.151, allocations: 403 kB / 1.976 GB, free: 44.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/3.151, allocations: 11.91 kB / 1.976 GB, free: 44.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/3.152, allocations: 172.6 kB / 1.977 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/3.152, allocations: 72.73 kB / 1.977 GB, free: 44.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/3.152, allocations: 59.97 kB / 1.977 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006269/3.153, allocations: 0.6678 MB / 1.977 GB, free: 43.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001801/3.155, allocations: 0.8808 MB / 1.978 GB, free: 42.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.001189/3.156, allocations: 0.9671 MB / 1.979 GB, free: 41.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001931/3.158, allocations: 1.93 MB / 1.981 GB, free: 39.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/3.158, allocations: 0 / 1.981 GB, free: 39.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007366/3.159, allocations: 0.8163 MB / 1.982 GB, free: 39.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/3.161, allocations: 497.8 kB / 1.982 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/3.164, allocations: 2.49 MB / 1.985 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008829/3.165, allocations: 1.497 MB / 1.986 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/3.165, allocations: 0 / 1.986 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.04391/3.209, allocations: 36.79 MB / 2.022 GB, free: 14.71 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)