Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2959/0.2959, allocations: 54.39 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001142/0.001142, allocations: 185.9 kB / 75.38 MB, free: 1.496 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.665/1.665, allocations: 194.2 MB / 283.2 MB, free: 3.637 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001813/0.001813, allocations: 105.4 kB / 341.3 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.757e-06/8.767e-06, allocations: 0 / 404.9 MB, free: 27.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 57.66 MB / 462.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.885/5.031, allocations: 2.177 GB / 2.629 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/5.031, allocations: 99.78 kB / 2.629 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.684/11.71, allocations: 1.62 GB / 4.248 GB, free: 42.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004372/11.72, allocations: 60.06 kB / 4.249 GB, free: 42.36 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: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.01012/11.73, allocations: 2.625 MB / 4.251 GB, free: 41.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/11.73, allocations: 14.12 kB / 4.251 GB, free: 41.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006392/11.73, allocations: 0.833 MB / 4.252 GB, free: 41.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/11.74, allocations: 2.411 MB / 4.254 GB, free: 40.94 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/11.74, allocations: 49.06 kB / 4.254 GB, free: 40.94 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/11.74, allocations: 97.41 kB / 4.254 GB, free: 40.94 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002928/11.74, allocations: 1.387 MB / 4.256 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/11.75, allocations: 1.6 MB / 4.257 GB, free: 40.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/11.75, allocations: 5.438 kB / 4.257 GB, free: 40.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/11.75, allocations: 4.5 kB / 4.257 GB, free: 40.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/11.75, allocations: 67.06 kB / 4.257 GB, free: 40.69 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/11.76, allocations: 8.108 MB / 4.265 GB, free: 36.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/11.76, allocations: 0.954 MB / 4.266 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008869/11.76, allocations: 0.5992 MB / 4.267 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/11.76, allocations: 288.2 kB / 4.267 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/11.76, allocations: 0.6894 MB / 4.268 GB, free: 36.37 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=99): time 4.348e-06/11.76, allocations: 0 / 4.268 GB, free: 36.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=102): time 0.009234/11.77, allocations: 3.312 MB / 4.271 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/11.77, allocations: 331.9 kB / 4.271 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/11.77, allocations: 1.237 MB / 4.273 GB, free: 34.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/11.77, allocations: 29.14 kB / 4.273 GB, free: 34.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008572/11.77, allocations: 0.649 MB / 4.273 GB, free: 34.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/11.77, allocations: 349.3 kB / 4.274 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/11.77, allocations: 0 / 4.274 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000148/11.78, allocations: 353 kB / 4.274 GB, free: 33.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/11.78, allocations: 459.4 kB / 4.274 GB, free: 33.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/11.78, allocations: 0.8335 MB / 4.275 GB, free: 33.41 MB / 0.5417 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.007059/11.78, allocations: 2.087 MB / 4.277 GB, free: 33.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/11.78, allocations: 3.438 kB / 4.277 GB, free: 33.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002954/11.79, allocations: 1.551 MB / 4.279 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008677/11.79, allocations: 3.09 MB / 4.282 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/11.79, allocations: 14.62 kB / 4.282 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/11.79, allocations: 43.42 kB / 4.282 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/11.79, allocations: 297.5 kB / 4.282 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/11.79, allocations: 1.412 MB / 4.283 GB, free: 28.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/11.79, allocations: 142.2 kB / 4.284 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/11.79, allocations: 56.06 kB / 4.284 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/11.79, allocations: 6.5 kB / 4.284 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002309/11.8, allocations: 1.29 MB / 4.285 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/11.8, allocations: 17.36 kB / 4.285 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.458e-05/11.8, allocations: 41.53 kB / 4.285 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/11.8, allocations: 285.1 kB / 4.285 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008535/11.8, allocations: 1.409 MB / 4.287 GB, free: 27.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/11.8, allocations: 133.9 kB / 4.287 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/11.8, allocations: 52.27 kB / 4.287 GB, free: 27.1 MB / 0.5417 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: 34 * 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 (151): * Single equations (assignments): 146 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004017/11.8, allocations: 147.8 kB / 4.287 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005085/11.8, allocations: 194.3 kB / 4.287 GB, free: 26.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/11.8, allocations: 1.331 MB / 4.288 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/11.8, allocations: 11.56 kB / 4.288 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/11.8, allocations: 6.156 kB / 4.288 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001784/11.81, allocations: 1.09 MB / 4.289 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006824/11.81, allocations: 3.081 MB / 4.292 GB, free: 25.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/11.81, allocations: 0 / 4.292 GB, free: 25.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/11.81, allocations: 238.5 kB / 4.293 GB, free: 25.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/11.81, allocations: 71.92 kB / 4.293 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/11.81, allocations: 17.84 kB / 4.293 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/11.82, allocations: 2.624 MB / 4.295 GB, free: 23.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/11.82, allocations: 0 / 4.295 GB, free: 23.51 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003393/11.82, allocations: 2.017 MB / 4.297 GB, free: 23.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/11.82, allocations: 388.3 kB / 4.298 GB, free: 22.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007235/11.82, allocations: 3.906 kB / 4.298 GB, free: 22.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/11.82, allocations: 137.4 kB / 4.298 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/11.82, allocations: 60.88 kB / 4.298 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/11.82, allocations: 38.89 kB / 4.298 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002361/11.83, allocations: 0.9365 MB / 4.299 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006029/11.83, allocations: 1.152 MB / 4.3 GB, free: 22.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[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 (101): * Single equations (assignments): 97 * 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.006908/11.84, allocations: 3.622 MB / 4.303 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004446/11.84, allocations: 2.149 MB / 4.306 GB, free: 21.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/11.84, allocations: 5 kB / 4.306 GB, free: 21.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/11.85, allocations: 0.7203 MB / 4.306 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005639/11.85, allocations: 0.8937 MB / 4.307 GB, free: 20.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/11.86, allocations: 3.245 MB / 4.31 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002609/11.86, allocations: 1.79 MB / 4.312 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/11.86, allocations: 0 / 4.312 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of Templates: time 0.1029/11.97, allocations: 59.38 MB / 4.37 GB, free: 16.02 MB / 0.5417 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)