Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_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.00155/0.00155, allocations: 192.4 kB / 7.804 MB, free: 2.504 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.61/1.61, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 87.62 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2575/0.2575, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2629/0.5205, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.9481, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.525/2.473, allocations: 0.7634 GB / 1.229 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/2.473, allocations: 75.08 kB / 1.229 GB, free: 16.53 MB / 0.5105 GB 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.3985/2.872, allocations: 61.78 MB / 1.289 GB, free: 177 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/2.872, allocations: 9.219 kB / 1.289 GB, free: 177 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007658/2.879, allocations: 0.8323 MB / 1.29 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/2.88, allocations: 278.1 kB / 1.29 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/2.88, allocations: 5.688 kB / 1.29 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/2.88, allocations: 17.84 kB / 1.29 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001282/2.881, allocations: 0.6544 MB / 1.291 GB, free: 176 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/2.882, allocations: 415.5 kB / 1.291 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/2.882, allocations: 0 / 1.291 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-05/2.882, allocations: 5.062 kB / 1.291 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/2.882, allocations: 7.438 kB / 1.291 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/2.886, allocations: 1.334 MB / 1.293 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/2.886, allocations: 319 kB / 1.293 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/2.887, allocations: 232.8 kB / 1.293 GB, free: 174.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/2.887, allocations: 252.6 kB / 1.294 GB, free: 174.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/2.887, allocations: 41.44 kB / 1.294 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/2.887, allocations: 0 / 1.294 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.001072/2.889, allocations: 441.4 kB / 1.294 GB, free: 173.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/2.889, allocations: 80.83 kB / 1.294 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/2.889, allocations: 120.4 kB / 1.294 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/2.889, allocations: 25.7 kB / 1.294 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/2.889, allocations: 109.8 kB / 1.294 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/2.889, allocations: 102.3 kB / 1.294 GB, free: 173.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/2.889, allocations: 1.094 kB / 1.294 GB, free: 173.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/2.889, allocations: 332.4 kB / 1.295 GB, free: 173.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/2.889, allocations: 198.1 kB / 1.295 GB, free: 173.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/2.89, allocations: 313.3 kB / 1.295 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/2.89, allocations: 234.3 kB / 1.295 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/2.89, allocations: 1.094 kB / 1.295 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008757/2.891, allocations: 0.5273 MB / 1.296 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/2.891, allocations: 4.406 kB / 1.296 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/2.891, allocations: 8 kB / 1.296 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/2.891, allocations: 11.91 kB / 1.296 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/2.892, allocations: 87.81 kB / 1.296 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/2.892, allocations: 8 kB / 1.296 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/2.893, allocations: 35.72 kB / 1.296 GB, free: 172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/2.893, allocations: 19.94 kB / 1.296 GB, free: 172 MB / 0.5105 GB 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.0001469/2.893, allocations: 124.8 kB / 1.296 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/2.893, allocations: 19.81 kB / 1.296 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/2.894, allocations: 0.5367 MB / 1.297 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/2.894, allocations: 15.92 kB / 1.297 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/2.894, allocations: 3.938 kB / 1.297 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/2.894, allocations: 0 / 1.297 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/2.895, allocations: 0.5085 MB / 1.297 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/2.895, allocations: 0 / 1.297 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/2.895, allocations: 55.95 kB / 1.297 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/2.895, allocations: 4 kB / 1.297 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/2.896, allocations: 11.98 kB / 1.297 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/2.896, allocations: 0 / 1.297 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.896, allocations: 7.938 kB / 1.297 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000959/2.896, allocations: 0.7313 MB / 1.298 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001406/2.898, allocations: 1.356 MB / 1.299 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/2.898, allocations: 100.9 kB / 1.3 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/2.898, allocations: 7.984 kB / 1.3 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/2.899, allocations: 11.98 kB / 1.3 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/2.899, allocations: 19.97 kB / 1.3 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/2.899, allocations: 23.98 kB / 1.3 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.979e-05/2.899, allocations: 103.2 kB / 1.3 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001769/2.901, allocations: 263.9 kB / 1.3 GB, free: 168 MB / 0.5105 GB 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.001904/2.903, allocations: 0.8595 MB / 1.301 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007056/2.903, allocations: 483.6 kB / 1.301 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/2.903, allocations: 0 / 1.301 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/2.904, allocations: 231.9 kB / 1.301 GB, free: 166.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/2.904, allocations: 76.73 kB / 1.302 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/2.906, allocations: 0.784 MB / 1.302 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/2.906, allocations: 0.8022 MB / 1.303 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/2.906, allocations: 0 / 1.303 GB, free: 164.8 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)