Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",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 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 185 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.2 MB / 214.1 MB, free: 5.109 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008934/0.0008937, allocations: 86.31 kB / 262.1 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1958/0.1967, allocations: 52.97 MB / 315.1 MB, free: 41.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0841/0.2808, allocations: 47.57 MB / 362.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/1.902, allocations: 0.7538 GB / 1.108 GB, free: 147.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/1.902, allocations: 76.89 kB / 1.108 GB, free: 147.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.1237/2.026, allocations: 61.65 MB / 1.168 GB, free: 85.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/2.026, allocations: 11.94 kB / 1.168 GB, free: 85.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/2.032, allocations: 0.842 MB / 1.169 GB, free: 84.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/2.033, allocations: 278.7 kB / 1.169 GB, free: 84.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/2.033, allocations: 12 kB / 1.169 GB, free: 84.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/2.033, allocations: 8 kB / 1.169 GB, free: 84.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/2.034, allocations: 0.6524 MB / 1.17 GB, free: 83.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/2.035, allocations: 424.4 kB / 1.17 GB, free: 83.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/2.035, allocations: 0 / 1.17 GB, free: 83.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/2.035, allocations: 0 / 1.17 GB, free: 83.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/2.035, allocations: 11.94 kB / 1.17 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/2.038, allocations: 1.324 MB / 1.172 GB, free: 81.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/2.038, allocations: 320.2 kB / 1.172 GB, free: 81.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/2.039, allocations: 229.6 kB / 1.172 GB, free: 81.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/2.039, allocations: 246.1 kB / 1.172 GB, free: 81.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/2.039, allocations: 42.55 kB / 1.173 GB, free: 80.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/2.039, allocations: 0 / 1.173 GB, free: 80.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008697/2.04, allocations: 445.5 kB / 1.173 GB, free: 80.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/2.04, allocations: 81.11 kB / 1.173 GB, free: 80.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/2.04, allocations: 117.5 kB / 1.173 GB, free: 80.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/2.04, allocations: 33.7 kB / 1.173 GB, free: 80.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/2.04, allocations: 116.3 kB / 1.173 GB, free: 80.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/2.04, allocations: 98.56 kB / 1.173 GB, free: 80.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/2.04, allocations: 0 / 1.173 GB, free: 80.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/2.04, allocations: 326.7 kB / 1.174 GB, free: 79.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/2.041, allocations: 203.9 kB / 1.174 GB, free: 79.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/2.041, allocations: 312.5 kB / 1.174 GB, free: 79.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/2.041, allocations: 232 kB / 1.174 GB, free: 78.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.041, allocations: 0 / 1.174 GB, free: 78.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008484/2.042, allocations: 0.5401 MB / 1.175 GB, free: 78.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/2.042, allocations: 8 kB / 1.175 GB, free: 78.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/2.042, allocations: 4 kB / 1.175 GB, free: 78.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/2.042, allocations: 4 kB / 1.175 GB, free: 78.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/2.043, allocations: 83.88 kB / 1.175 GB, free: 78.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/2.043, allocations: 4 kB / 1.175 GB, free: 78.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/2.043, allocations: 39.95 kB / 1.175 GB, free: 78.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/2.044, allocations: 23.98 kB / 1.175 GB, free: 78.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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.0001249/2.044, allocations: 108.9 kB / 1.175 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/2.044, allocations: 19.81 kB / 1.175 GB, free: 78.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/2.045, allocations: 0.5499 MB / 1.176 GB, free: 77.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/2.045, allocations: 4 kB / 1.176 GB, free: 77.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.045, allocations: 3.906 kB / 1.176 GB, free: 77.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/2.045, allocations: 0 / 1.176 GB, free: 77.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/2.046, allocations: 0.4971 MB / 1.176 GB, free: 77.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/2.046, allocations: 0 / 1.176 GB, free: 77.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/2.046, allocations: 71.88 kB / 1.176 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/2.046, allocations: 0 / 1.176 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/2.046, allocations: 11.91 kB / 1.176 GB, free: 76.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/2.046, allocations: 7.984 kB / 1.176 GB, free: 76.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.046, allocations: 0 / 1.176 GB, free: 76.94 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009162/2.047, allocations: 0.7276 MB / 1.177 GB, free: 76.19 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001292/2.048, allocations: 1.364 MB / 1.178 GB, free: 74.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/2.049, allocations: 92.86 kB / 1.178 GB, free: 74.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/2.049, allocations: 8 kB / 1.178 GB, free: 74.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/2.049, allocations: 27.81 kB / 1.178 GB, free: 74.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/2.049, allocations: 7.984 kB / 1.178 GB, free: 74.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.116e-05/2.049, allocations: 23.98 kB / 1.179 GB, free: 74.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.568e-05/2.049, allocations: 103.6 kB / 1.179 GB, free: 74.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001622/2.051, allocations: 256 kB / 1.179 GB, free: 74.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001752/2.053, allocations: 0.8761 MB / 1.18 GB, free: 73.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007504/2.054, allocations: 480.8 kB / 1.18 GB, free: 72.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.054, allocations: 4.125 kB / 1.18 GB, free: 72.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/2.054, allocations: 231.9 kB / 1.18 GB, free: 72.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/2.054, allocations: 83.8 kB / 1.18 GB, free: 72.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/2.056, allocations: 0.7843 MB / 1.181 GB, free: 71.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/2.056, allocations: 0.8024 MB / 1.182 GB, free: 70.97 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/2.056, allocations: 0 / 1.182 GB, free: 70.97 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)