Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.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.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") [: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.001899/0.001899, allocations: 177 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6018/0.6018, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.13/1.13, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008099/0.0008099, allocations: 98.22 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.64e-06, allocations: 0 / 0.5528 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.773/2.882, allocations: 1.916 GB / 2.549 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/2.883, allocations: 87.95 kB / 2.549 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.362/8.245, allocations: 2.004 GB / 4.553 GB, free: 62.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003346/8.245, allocations: 62.77 kB / 4.553 GB, free: 62.81 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.006716/8.252, allocations: 2.574 MB / 4.555 GB, free: 61.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/8.252, allocations: 7.594 kB / 4.555 GB, free: 61.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005562/8.258, allocations: 0.8562 MB / 4.556 GB, free: 61.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/8.264, allocations: 2.377 MB / 4.559 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/8.264, allocations: 47.5 kB / 4.559 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004967/8.265, allocations: 96.97 kB / 4.559 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002857/8.268, allocations: 1.357 MB / 4.56 GB, free: 61.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/8.27, allocations: 1.531 MB / 4.561 GB, free: 60.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/8.27, allocations: 3.531 kB / 4.561 GB, free: 60.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/8.271, allocations: 4.75 kB / 4.561 GB, free: 60.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/8.271, allocations: 55.92 kB / 4.562 GB, free: 60.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/8.282, allocations: 8.345 MB / 4.57 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008423/8.283, allocations: 0.6919 MB / 4.57 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/8.283, allocations: 0.6292 MB / 4.571 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/8.284, allocations: 387.3 kB / 4.571 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008093/8.285, allocations: 0.6088 MB / 4.572 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=104): time 3.517e-06/8.285, allocations: 0 / 4.572 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=107): time 0.007475/8.292, allocations: 3.024 MB / 4.575 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/8.292, allocations: 114.3 kB / 4.575 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/8.294, allocations: 1.196 MB / 4.576 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/8.294, allocations: 33.42 kB / 4.576 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/8.295, allocations: 0.6144 MB / 4.577 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/8.295, allocations: 362.1 kB / 4.577 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/8.295, allocations: 0 / 4.577 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/8.295, allocations: 355.6 kB / 4.577 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/8.296, allocations: 435.2 kB / 4.578 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007376/8.296, allocations: 0.7736 MB / 4.579 GB, free: 54.04 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006072/8.302, allocations: 2.046 MB / 4.581 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/8.303, allocations: 3.594 kB / 4.581 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002405/8.305, allocations: 1.427 MB / 4.582 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000517/8.305, allocations: 2.915 MB / 4.585 GB, free: 50.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/8.305, allocations: 6.906 kB / 4.585 GB, free: 50.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/8.306, allocations: 40.81 kB / 4.585 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/8.307, allocations: 290.1 kB / 4.585 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009291/8.308, allocations: 1.431 MB / 4.587 GB, free: 49.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/8.31, allocations: 136.9 kB / 4.587 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/8.31, allocations: 51.28 kB / 4.587 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-06/8.31, allocations: 3.406 kB / 4.587 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00191/8.312, allocations: 1.194 MB / 4.588 GB, free: 49.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/8.312, allocations: 5.781 kB / 4.588 GB, free: 49.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/8.312, allocations: 39.52 kB / 4.588 GB, free: 49.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/8.313, allocations: 289.2 kB / 4.588 GB, free: 49.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000819/8.314, allocations: 1.42 MB / 4.59 GB, free: 48.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/8.316, allocations: 137 kB / 4.59 GB, free: 48.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/8.316, allocations: 59.28 kB / 4.59 GB, free: 48.09 MB / 0.7136 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000277/8.316, allocations: 137.7 kB / 4.59 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/8.317, allocations: 188.8 kB / 4.59 GB, free: 47.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/8.319, allocations: 1.305 MB / 4.591 GB, free: 47.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/8.319, allocations: 10.94 kB / 4.591 GB, free: 47.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/8.319, allocations: 3.375 kB / 4.591 GB, free: 47.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/8.321, allocations: 1.04 MB / 4.592 GB, free: 47.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/8.326, allocations: 3.074 MB / 4.595 GB, free: 47.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/8.326, allocations: 3.625 kB / 4.595 GB, free: 47.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/8.327, allocations: 235 kB / 4.596 GB, free: 47.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/8.328, allocations: 73.98 kB / 4.596 GB, free: 47.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.79e-05/8.328, allocations: 19.62 kB / 4.596 GB, free: 47.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/8.329, allocations: 2.641 MB / 4.598 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/8.329, allocations: 0 / 4.598 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002566/8.332, allocations: 2.067 MB / 4.6 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/8.333, allocations: 376.8 kB / 4.601 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/8.333, allocations: 13.38 kB / 4.601 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/8.334, allocations: 122.5 kB / 4.601 GB, free: 44.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/8.335, allocations: 62.3 kB / 4.601 GB, free: 44.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.882e-05/8.335, allocations: 46.5 kB / 4.601 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001214/8.336, allocations: 0.9001 MB / 4.602 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003582/8.339, allocations: 1.139 MB / 4.603 GB, free: 44.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004251/8.344, allocations: 3.62 MB / 4.607 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002761/8.347, allocations: 2.062 MB / 4.609 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/8.347, allocations: 3.469 kB / 4.609 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/8.347, allocations: 0.7458 MB / 4.609 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003835/8.351, allocations: 0.8818 MB / 4.61 GB, free: 42.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007024/8.358, allocations: 3.219 MB / 4.613 GB, free: 41.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/8.36, allocations: 1.784 MB / 4.615 GB, free: 40.66 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/8.36, allocations: 2.938 kB / 4.615 GB, free: 40.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.08425/8.444, allocations: 57.9 MB / 4.672 GB, free: 15.88 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)