Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") [: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.001766/0.001766, allocations: 179.6 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6012/0.6012, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.138/1.138, 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.000835/0.0008348, allocations: 108.3 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.6e-06/5.63e-06, allocations: 0 / 0.5528 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 82.31 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.703/2.817, allocations: 1.923 GB / 2.556 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/2.817, allocations: 99.38 kB / 2.556 GB, free: 36.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.531/8.348, allocations: 2.091 GB / 4.647 GB, free: 74.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002823/8.349, allocations: 58.61 kB / 4.647 GB, free: 74.02 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.00564/8.354, allocations: 2.402 MB / 4.649 GB, free: 72.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/8.354, allocations: 15.03 kB / 4.649 GB, free: 72.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005044/8.359, allocations: 0.8339 MB / 4.65 GB, free: 72.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/8.364, allocations: 2.229 MB / 4.652 GB, free: 72.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/8.365, allocations: 40.81 kB / 4.653 GB, free: 72.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/8.365, allocations: 90.81 kB / 4.653 GB, free: 72.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001945/8.367, allocations: 1.154 MB / 4.654 GB, free: 72.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/8.369, allocations: 1.354 MB / 4.655 GB, free: 71.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/8.369, allocations: 1.281 kB / 4.655 GB, free: 71.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/8.369, allocations: 1.766 kB / 4.655 GB, free: 71.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/8.369, allocations: 49.61 kB / 4.655 GB, free: 71.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009678/8.379, allocations: 7.634 MB / 4.663 GB, free: 66.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/8.38, allocations: 0.5816 MB / 4.663 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/8.38, allocations: 493.2 kB / 4.664 GB, free: 66.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/8.381, allocations: 0.9193 MB / 4.664 GB, free: 65.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007355/8.382, allocations: 0.4934 MB / 4.665 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 2.926e-06/8.382, allocations: 0.625 kB / 4.665 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.003033/8.385, allocations: 1.135 MB / 4.666 GB, free: 64.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/8.385, allocations: 122.4 kB / 4.666 GB, free: 64.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/8.386, allocations: 1.218 MB / 4.667 GB, free: 63.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/8.387, allocations: 32.11 kB / 4.667 GB, free: 63.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/8.387, allocations: 0.5909 MB / 4.668 GB, free: 63.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/8.387, allocations: 295.7 kB / 4.668 GB, free: 63.22 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/8.387, allocations: 2.719 kB / 4.668 GB, free: 63.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/8.387, allocations: 344 kB / 4.669 GB, free: 62.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/8.388, allocations: 344.3 kB / 4.669 GB, free: 62.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/8.388, allocations: 0.6949 MB / 4.67 GB, free: 62.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/8.39, allocations: 0.5446 MB / 4.67 GB, free: 62.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/8.39, allocations: 4.625 kB / 4.67 GB, free: 62.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002184/8.392, allocations: 1.25 MB / 4.671 GB, free: 61.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005497/8.392, allocations: 3.352 MB / 4.675 GB, free: 57.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/8.392, allocations: 5.812 kB / 4.675 GB, free: 57.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/8.392, allocations: 15.91 kB / 4.675 GB, free: 57.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/8.394, allocations: 266.2 kB / 4.675 GB, free: 57.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/8.394, allocations: 17.72 kB / 4.675 GB, free: 57.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/8.395, allocations: 175.1 kB / 4.675 GB, free: 57.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/8.395, allocations: 54.95 kB / 4.675 GB, free: 57.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/8.395, allocations: 3.719 kB / 4.675 GB, free: 57.71 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001782/8.397, allocations: 1.015 MB / 4.676 GB, free: 56.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/8.397, allocations: 11.06 kB / 4.676 GB, free: 56.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/8.397, allocations: 16 kB / 4.676 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/8.398, allocations: 262.4 kB / 4.676 GB, free: 56.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/8.398, allocations: 22.56 kB / 4.676 GB, free: 56.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/8.4, allocations: 159.9 kB / 4.677 GB, free: 56.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/8.4, allocations: 51.98 kB / 4.677 GB, free: 56.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (133): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002489/8.4, allocations: 139.3 kB / 4.677 GB, free: 56.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/8.4, allocations: 177.8 kB / 4.677 GB, free: 56.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/8.402, allocations: 1.098 MB / 4.678 GB, free: 55.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/8.402, allocations: 11.98 kB / 4.678 GB, free: 55.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/8.402, allocations: 0 / 4.678 GB, free: 55.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/8.404, allocations: 1.167 MB / 4.679 GB, free: 53.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/8.408, allocations: 2.482 MB / 4.682 GB, free: 51.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/8.408, allocations: 4 kB / 4.682 GB, free: 51.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/8.409, allocations: 187 kB / 4.682 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/8.409, allocations: 46.89 kB / 4.682 GB, free: 51.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/8.409, allocations: 15.98 kB / 4.682 GB, free: 51.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009973/8.41, allocations: 1.372 MB / 4.683 GB, free: 49.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/8.41, allocations: 7.938 kB / 4.683 GB, free: 49.56 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002094/8.412, allocations: 1.683 MB / 4.685 GB, free: 47.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/8.413, allocations: 354.5 kB / 4.685 GB, free: 47.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/8.413, allocations: 8 kB / 4.685 GB, free: 47.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/8.414, allocations: 117.8 kB / 4.685 GB, free: 47.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/8.414, allocations: 60.69 kB / 4.685 GB, free: 47.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/8.414, allocations: 27.98 kB / 4.685 GB, free: 47.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0009546/8.415, allocations: 0.9121 MB / 4.686 GB, free: 46.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003119/8.418, allocations: 1.169 MB / 4.687 GB, free: 45.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003761/8.422, allocations: 3.672 MB / 4.691 GB, free: 41.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001861/8.424, allocations: 1.508 MB / 4.692 GB, free: 40.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/8.424, allocations: 2.578 kB / 4.692 GB, free: 40.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/8.425, allocations: 0.5142 MB / 4.693 GB, free: 39.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/8.427, allocations: 0.7162 MB / 4.694 GB, free: 39.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/8.433, allocations: 2.989 MB / 4.697 GB, free: 36.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/8.434, allocations: 1.669 MB / 4.698 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/8.434, allocations: 0 / 4.698 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.3209/8.755, allocations: 51.34 MB / 4.748 GB, free: 125.4 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)