Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_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.004697/0.004696, allocations: 185.2 kB / 7.463 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7/0.7, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.553/1.553, allocations: 221.3 MB / 395 MB, free: 10.21 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.001231/0.001231, allocations: 99.53 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4959/0.4972, allocations: 88.42 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.6806, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.799/5.479, allocations: 1.916 GB / 2.549 GB, free: 45.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/5.48, allocations: 91.95 kB / 2.549 GB, free: 45.38 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 8.268/13.75, allocations: 2.006 GB / 4.555 GB, free: 77.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/13.75, allocations: 10.09 kB / 4.555 GB, free: 77.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007586/13.75, allocations: 0.8521 MB / 4.556 GB, free: 77.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009231/13.76, allocations: 2.384 MB / 4.559 GB, free: 76.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/13.76, allocations: 50.91 kB / 4.559 GB, free: 76.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006908/13.76, allocations: 102.2 kB / 4.559 GB, free: 76.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003694/13.77, allocations: 1.351 MB / 4.56 GB, free: 76.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/13.77, allocations: 1.531 MB / 4.562 GB, free: 76.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/13.77, allocations: 0 / 4.562 GB, free: 76.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/13.77, allocations: 11.38 kB / 4.562 GB, free: 76.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/13.77, allocations: 60.59 kB / 4.562 GB, free: 76.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/13.79, allocations: 8.35 MB / 4.57 GB, free: 72.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/13.79, allocations: 0.6915 MB / 4.57 GB, free: 72.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009325/13.79, allocations: 0.6284 MB / 4.571 GB, free: 72.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/13.79, allocations: 381.6 kB / 4.571 GB, free: 72.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009444/13.79, allocations: 0.615 MB / 4.572 GB, free: 72.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 4.198e-06/13.79, allocations: 0 / 4.572 GB, free: 72.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.009644/13.8, allocations: 3.021 MB / 4.575 GB, free: 71.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/13.8, allocations: 117.5 kB / 4.575 GB, free: 71.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/13.8, allocations: 1.196 MB / 4.576 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/13.8, allocations: 29.64 kB / 4.576 GB, free: 71.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009689/13.81, allocations: 0.6214 MB / 4.577 GB, free: 70.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/13.81, allocations: 365.7 kB / 4.577 GB, free: 70.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/13.81, allocations: 0 / 4.577 GB, free: 70.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001184/13.81, allocations: 348.9 kB / 4.578 GB, free: 70.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/13.81, allocations: 440.8 kB / 4.578 GB, free: 70.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/13.81, allocations: 0.7723 MB / 4.579 GB, free: 69.8 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.006952/13.81, allocations: 2.032 MB / 4.581 GB, free: 69.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/13.81, allocations: 5.406 kB / 4.581 GB, free: 69.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003153/13.82, allocations: 1.432 MB / 4.582 GB, free: 69.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007418/13.82, allocations: 2.905 MB / 4.585 GB, free: 66.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/13.82, allocations: 9.5 kB / 4.585 GB, free: 66.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/13.82, allocations: 41.02 kB / 4.585 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/13.82, allocations: 286.9 kB / 4.585 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/13.82, allocations: 1.435 MB / 4.587 GB, free: 65.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/13.82, allocations: 136.4 kB / 4.587 GB, free: 65.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/13.82, allocations: 60.2 kB / 4.587 GB, free: 65.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/13.82, allocations: 4.5 kB / 4.587 GB, free: 65.17 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002737/13.83, allocations: 1.192 MB / 4.588 GB, free: 65.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/13.83, allocations: 7.25 kB / 4.588 GB, free: 65.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/13.83, allocations: 43.14 kB / 4.588 GB, free: 65.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/13.83, allocations: 287.9 kB / 4.588 GB, free: 65.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/13.83, allocations: 1.422 MB / 4.59 GB, free: 63.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/13.83, allocations: 133.6 kB / 4.59 GB, free: 63.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/13.83, allocations: 56.03 kB / 4.59 GB, free: 63.86 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.0004394/13.83, allocations: 132.7 kB / 4.59 GB, free: 63.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/13.83, allocations: 190.5 kB / 4.59 GB, free: 63.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/13.84, allocations: 1.306 MB / 4.592 GB, free: 63.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/13.84, allocations: 15.12 kB / 4.592 GB, free: 63.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/13.84, allocations: 0 / 4.592 GB, free: 63.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/13.84, allocations: 1.044 MB / 4.593 GB, free: 63.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00743/13.85, allocations: 3.06 MB / 4.596 GB, free: 63.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/13.85, allocations: 0 / 4.596 GB, free: 63.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/13.85, allocations: 237.5 kB / 4.596 GB, free: 63.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/13.85, allocations: 79.08 kB / 4.596 GB, free: 63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/13.85, allocations: 16.34 kB / 4.596 GB, free: 63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/13.85, allocations: 2.639 MB / 4.598 GB, free: 60.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/13.85, allocations: 3.906 kB / 4.598 GB, free: 60.62 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003468/13.85, allocations: 2.069 MB / 4.6 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005103/13.86, allocations: 3.288 MB / 4.604 GB, free: 59.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/13.86, allocations: 376.6 kB / 4.604 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007599/13.86, allocations: 10.66 kB / 4.604 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/13.86, allocations: 121.5 kB / 4.604 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/13.86, allocations: 74.78 kB / 4.604 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/13.86, allocations: 40.22 kB / 4.604 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002139/13.87, allocations: 0.9 MB / 4.605 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009046/13.87, allocations: 1.972 MB / 4.607 GB, free: 59 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.005517/13.88, allocations: 3.615 MB / 4.611 GB, free: 57.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004019/13.88, allocations: 2.06 MB / 4.613 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/13.88, allocations: 1.969 kB / 4.613 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/13.88, allocations: 0.755 MB / 4.613 GB, free: 57.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005327/13.89, allocations: 0.8808 MB / 4.614 GB, free: 57.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/13.9, allocations: 3.235 MB / 4.617 GB, free: 56.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003242/13.9, allocations: 1.81 MB / 4.619 GB, free: 55.64 MB / 0.7292 GB Notification: Performance of SimCode: time 2.205e-06/13.91, allocations: 2.812 kB / 4.619 GB, free: 55.64 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)