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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",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.003974/0.003975, allocations: 179 kB / 7.454 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8411/0.8411, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.593/1.593, allocations: 221.3 MB / 395 MB, free: 10.16 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.001114/0.001114, allocations: 95.11 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4714/0.4725, allocations: 88.43 MB / 0.5529 GB, free: 89.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.6572, allocations: 82.3 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.034/4.691, allocations: 1.923 GB / 2.556 GB, free: 37.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/4.691, allocations: 91.94 kB / 2.556 GB, free: 37.51 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 7.486/12.18, allocations: 2.094 GB / 4.65 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/12.18, allocations: 8.375 kB / 4.65 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00625/12.18, allocations: 0.8316 MB / 4.65 GB, free: 73.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008424/12.19, allocations: 2.23 MB / 4.653 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/12.19, allocations: 41.03 kB / 4.653 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004351/12.19, allocations: 90.41 kB / 4.653 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002804/12.2, allocations: 1.159 MB / 4.654 GB, free: 72.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/12.2, allocations: 1.359 MB / 4.655 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/12.2, allocations: 4.812 kB / 4.655 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/12.2, allocations: 2.25 kB / 4.655 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-05/12.2, allocations: 51.11 kB / 4.655 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/12.21, allocations: 7.613 MB / 4.663 GB, free: 68.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/12.21, allocations: 0.5851 MB / 4.663 GB, free: 68.53 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/12.21, allocations: 486.6 kB / 4.664 GB, free: 68.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/12.21, allocations: 0.9211 MB / 4.665 GB, free: 67.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/12.22, allocations: 0.5002 MB / 4.665 GB, free: 67.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 4.659e-06/12.22, allocations: 3.891 kB / 4.665 GB, free: 67.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.003624/12.22, allocations: 1.136 MB / 4.666 GB, free: 67.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/12.22, allocations: 116.6 kB / 4.666 GB, free: 67.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/12.22, allocations: 1.219 MB / 4.667 GB, free: 67.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/12.22, allocations: 32.02 kB / 4.668 GB, free: 67.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007116/12.22, allocations: 0.5877 MB / 4.668 GB, free: 66.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/12.22, allocations: 297.2 kB / 4.668 GB, free: 66.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/12.22, allocations: 0 / 4.668 GB, free: 66.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001274/12.22, allocations: 347.4 kB / 4.669 GB, free: 66.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/12.22, allocations: 346.6 kB / 4.669 GB, free: 66.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/12.22, allocations: 0.6923 MB / 4.67 GB, free: 65.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/12.23, allocations: 0.5415 MB / 4.67 GB, free: 65.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/12.23, allocations: 3.875 kB / 4.67 GB, free: 65.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002786/12.23, allocations: 1.252 MB / 4.671 GB, free: 65.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007404/12.23, allocations: 3.354 MB / 4.675 GB, free: 62.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/12.23, allocations: 9.562 kB / 4.675 GB, free: 62.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/12.23, allocations: 14.28 kB / 4.675 GB, free: 62.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/12.23, allocations: 267.9 kB / 4.675 GB, free: 62.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/12.23, allocations: 22.36 kB / 4.675 GB, free: 62.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/12.23, allocations: 168.8 kB / 4.675 GB, free: 62.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/12.23, allocations: 49.69 kB / 4.675 GB, free: 62.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/12.23, allocations: 6.812 kB / 4.675 GB, free: 62.02 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002279/12.23, allocations: 1.013 MB / 4.676 GB, free: 61.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/12.23, allocations: 13.38 kB / 4.676 GB, free: 61.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/12.23, allocations: 14.66 kB / 4.676 GB, free: 61.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/12.24, allocations: 263.2 kB / 4.677 GB, free: 61.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/12.24, allocations: 22.84 kB / 4.677 GB, free: 61.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/12.24, allocations: 157.3 kB / 4.677 GB, free: 61.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/12.24, allocations: 53.5 kB / 4.677 GB, free: 61.9 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.0003133/12.24, allocations: 144 kB / 4.677 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/12.24, allocations: 172.9 kB / 4.677 GB, free: 61.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/12.24, allocations: 1.098 MB / 4.678 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/12.24, allocations: 8.562 kB / 4.678 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/12.24, allocations: 1.125 kB / 4.678 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001864/12.24, allocations: 1.167 MB / 4.679 GB, free: 60.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/12.25, allocations: 2.486 MB / 4.682 GB, free: 59.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/12.25, allocations: 2.594 kB / 4.682 GB, free: 59.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/12.25, allocations: 182.2 kB / 4.682 GB, free: 59.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/12.25, allocations: 50.61 kB / 4.682 GB, free: 59.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/12.25, allocations: 13.05 kB / 4.682 GB, free: 59.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/12.25, allocations: 1.378 MB / 4.683 GB, free: 58.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/12.25, allocations: 1.438 kB / 4.683 GB, free: 58.2 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00288/12.26, allocations: 1.696 MB / 4.685 GB, free: 57.37 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004231/12.26, allocations: 2.749 MB / 4.688 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/12.26, allocations: 355.5 kB / 4.688 GB, free: 55.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/12.26, allocations: 11.14 kB / 4.688 GB, free: 55.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/12.26, allocations: 112.1 kB / 4.688 GB, free: 55.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/12.26, allocations: 61.89 kB / 4.688 GB, free: 55.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.219e-05/12.26, allocations: 27.8 kB / 4.688 GB, free: 55.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001719/12.26, allocations: 0.9122 MB / 4.689 GB, free: 55.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007717/12.27, allocations: 1.991 MB / 4.691 GB, free: 53.58 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.00589/12.28, allocations: 3.686 MB / 4.695 GB, free: 50.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00272/12.28, allocations: 1.499 MB / 4.696 GB, free: 49.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/12.28, allocations: 0 / 4.696 GB, free: 49.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007686/12.28, allocations: 0.5186 MB / 4.697 GB, free: 48.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/12.29, allocations: 0.7129 MB / 4.697 GB, free: 48.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/12.29, allocations: 2.992 MB / 4.7 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/12.3, allocations: 1.694 MB / 4.702 GB, free: 44.28 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/12.3, allocations: 0 / 4.702 GB, free: 44.28 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)