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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) [: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.00386/0.00386, allocations: 185.6 kB / 7.459 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.6976/0.6976, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.58/1.58, allocations: 221.4 MB / 395 MB, free: 10.2 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.00117/0.00117, allocations: 105.3 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5244/0.5256, allocations: 88.41 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.7167, allocations: 82.32 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.396/5.113, allocations: 1.916 GB / 2.549 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/5.114, allocations: 87.95 kB / 2.549 GB, free: 45.62 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 7.55/12.66, allocations: 2.006 GB / 4.555 GB, free: 77.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/12.66, allocations: 8.344 kB / 4.555 GB, free: 77.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006374/12.67, allocations: 0.8488 MB / 4.556 GB, free: 77.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007121/12.68, allocations: 2.386 MB / 4.559 GB, free: 77.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/12.68, allocations: 50.41 kB / 4.559 GB, free: 77.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/12.68, allocations: 99.72 kB / 4.559 GB, free: 77.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002741/12.68, allocations: 1.352 MB / 4.56 GB, free: 77.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/12.68, allocations: 1.528 MB / 4.562 GB, free: 76.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/12.68, allocations: 3.594 kB / 4.562 GB, free: 76.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/12.68, allocations: 3.25 kB / 4.562 GB, free: 76.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/12.68, allocations: 64.67 kB / 4.562 GB, free: 76.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/12.7, allocations: 8.348 MB / 4.57 GB, free: 73.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/12.7, allocations: 0.687 MB / 4.57 GB, free: 72.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/12.7, allocations: 0.6298 MB / 4.571 GB, free: 72.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/12.7, allocations: 381.4 kB / 4.571 GB, free: 72.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008843/12.7, allocations: 0.6168 MB / 4.572 GB, free: 72.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 3.687e-06/12.7, allocations: 0 / 4.572 GB, free: 72.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.008155/12.71, allocations: 3.032 MB / 4.575 GB, free: 71.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/12.71, allocations: 116.2 kB / 4.575 GB, free: 71.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/12.71, allocations: 1.19 MB / 4.576 GB, free: 71.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/12.71, allocations: 29.67 kB / 4.576 GB, free: 71.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/12.71, allocations: 0.6176 MB / 4.577 GB, free: 71.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/12.71, allocations: 360 kB / 4.577 GB, free: 70.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/12.71, allocations: 2.938 kB / 4.577 GB, free: 70.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/12.71, allocations: 353.6 kB / 4.578 GB, free: 70.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/12.71, allocations: 438 kB / 4.578 GB, free: 70.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/12.71, allocations: 0.7708 MB / 4.579 GB, free: 70.18 MB / 0.7292 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.006738/12.72, allocations: 2.033 MB / 4.581 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/12.72, allocations: 3.344 kB / 4.581 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002884/12.72, allocations: 1.435 MB / 4.582 GB, free: 69.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007378/12.72, allocations: 2.916 MB / 4.585 GB, free: 66.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/12.72, allocations: 8.688 kB / 4.585 GB, free: 66.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/12.72, allocations: 45.05 kB / 4.585 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/12.72, allocations: 285.6 kB / 4.585 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/12.72, allocations: 1.426 MB / 4.587 GB, free: 65.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/12.73, allocations: 137 kB / 4.587 GB, free: 65.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/12.73, allocations: 59.02 kB / 4.587 GB, free: 65.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/12.73, allocations: 7.344 kB / 4.587 GB, free: 65.54 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002299/12.73, allocations: 1.184 MB / 4.588 GB, free: 65.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/12.73, allocations: 10.34 kB / 4.588 GB, free: 65.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/12.73, allocations: 42.12 kB / 4.588 GB, free: 65.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/12.73, allocations: 290.5 kB / 4.588 GB, free: 65.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/12.73, allocations: 1.42 MB / 4.59 GB, free: 64.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/12.73, allocations: 136.3 kB / 4.59 GB, free: 64.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/12.74, allocations: 56.12 kB / 4.59 GB, free: 64.23 MB / 0.7292 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.0004344/12.74, allocations: 141.1 kB / 4.59 GB, free: 64.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005809/12.74, allocations: 192.4 kB / 4.59 GB, free: 64.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/12.74, allocations: 1.292 MB / 4.592 GB, free: 63.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/12.74, allocations: 14 kB / 4.592 GB, free: 63.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/12.74, allocations: 2.875 kB / 4.592 GB, free: 63.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001862/12.74, allocations: 1.042 MB / 4.593 GB, free: 63.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00738/12.75, allocations: 3.062 MB / 4.596 GB, free: 63.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/12.75, allocations: 0 / 4.596 GB, free: 63.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/12.75, allocations: 240.6 kB / 4.596 GB, free: 63.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/12.75, allocations: 79.88 kB / 4.596 GB, free: 63.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/12.75, allocations: 16.58 kB / 4.596 GB, free: 63.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/12.75, allocations: 2.639 MB / 4.598 GB, free: 61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/12.75, allocations: 3.906 kB / 4.598 GB, free: 60.99 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003839/12.76, allocations: 2.066 MB / 4.6 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005094/12.76, allocations: 3.284 MB / 4.604 GB, free: 59.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/12.76, allocations: 383.2 kB / 4.604 GB, free: 59.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/12.76, allocations: 7.75 kB / 4.604 GB, free: 59.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/12.77, allocations: 124.5 kB / 4.604 GB, free: 59.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/12.77, allocations: 65.94 kB / 4.604 GB, free: 59.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/12.77, allocations: 49.33 kB / 4.604 GB, free: 59.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002032/12.77, allocations: 0.9036 MB / 4.605 GB, free: 59.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009857/12.78, allocations: 1.972 MB / 4.607 GB, free: 59.38 MB / 0.7292 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.007908/12.79, allocations: 3.61 MB / 4.611 GB, free: 58.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004447/12.79, allocations: 2.063 MB / 4.613 GB, free: 57.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/12.79, allocations: 5.219 kB / 4.613 GB, free: 57.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/12.79, allocations: 0.7481 MB / 4.613 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/12.8, allocations: 0.875 MB / 4.614 GB, free: 57.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009678/12.81, allocations: 3.242 MB / 4.617 GB, free: 56.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002858/12.81, allocations: 1.801 MB / 4.619 GB, free: 56.01 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/12.81, allocations: 0 / 4.619 GB, free: 56.01 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)