Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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 trunk/package.mo): time 0.001145/0.001145, allocations: 199.5 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 92.27 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1726/0.1726, allocations: 45.15 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.192/0.3646, allocations: 69.36 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08274/0.4474, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.679, allocations: 0.833 GB / 1.337 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/1.679, allocations: 75.95 kB / 1.337 GB, free: 29.18 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.3762/2.055, allocations: 103 MB / 1.438 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/2.055, allocations: 12 kB / 1.438 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/2.065, allocations: 1.532 MB / 1.439 GB, free: 139 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/2.066, allocations: 395.9 kB / 1.439 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/2.066, allocations: 115.6 kB / 1.44 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/2.067, allocations: 20 kB / 1.44 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002757/2.069, allocations: 1.688 MB / 1.441 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/2.07, allocations: 0.8821 MB / 1.442 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/2.071, allocations: 0 / 1.442 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/2.071, allocations: 4 kB / 1.442 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/2.071, allocations: 52.73 kB / 1.442 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/2.075, allocations: 3.613 MB / 1.446 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/2.075, allocations: 74.52 kB / 1.446 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/2.075, allocations: 28.83 kB / 1.446 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/2.075, allocations: 199.5 kB / 1.446 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/2.075, allocations: 34.56 kB / 1.446 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/2.075, allocations: 0 / 1.446 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.004166/2.079, allocations: 0.8571 MB / 1.447 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.432e-05/2.079, allocations: 51.41 kB / 1.447 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/2.08, allocations: 337.6 kB / 1.447 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/2.08, allocations: 25.7 kB / 1.447 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/2.08, allocations: 380.9 kB / 1.448 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/2.08, allocations: 47.39 kB / 1.448 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/2.08, allocations: 0 / 1.448 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/2.08, allocations: 346.8 kB / 1.448 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/2.08, allocations: 105.5 kB / 1.448 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/2.08, allocations: 0.5472 MB / 1.449 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/2.081, allocations: 310 kB / 1.449 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/2.081, allocations: 4 kB / 1.449 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001334/2.082, allocations: 0.6578 MB / 1.45 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/2.082, allocations: 8 kB / 1.45 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/2.083, allocations: 16 kB / 1.45 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/2.083, allocations: 24 kB / 1.45 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/2.083, allocations: 211.8 kB / 1.45 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002365/2.083, allocations: 0.6331 MB / 1.45 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/2.084, allocations: 16 kB / 1.45 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/2.084, allocations: 63.94 kB / 1.45 GB, free: 126.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/2.084, allocations: 136.6 kB / 1.451 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/2.084, allocations: 47.45 kB / 1.451 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/2.085, allocations: 221.3 kB / 1.451 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/2.085, allocations: 4 kB / 1.451 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/2.085, allocations: 0 / 1.451 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/2.085, allocations: 0 / 1.451 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/2.085, allocations: 0.5533 MB / 1.451 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/2.085, allocations: 0 / 1.451 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/2.085, allocations: 39.98 kB / 1.451 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/2.085, allocations: 96 / 1.451 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/2.085, allocations: 7.938 kB / 1.451 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001752/2.086, allocations: 0.5938 MB / 1.452 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.086, allocations: 7.969 kB / 1.452 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002088/2.086, allocations: 240.2 kB / 1.452 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003395/2.086, allocations: 0.6608 MB / 1.453 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/2.086, allocations: 120.7 kB / 1.453 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/2.086, allocations: 7.891 kB / 1.453 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/2.087, allocations: 11.98 kB / 1.453 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/2.087, allocations: 11.98 kB / 1.453 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/2.087, allocations: 12 kB / 1.453 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001675/2.087, allocations: 224.6 kB / 1.453 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002217/2.089, allocations: 0.5035 MB / 1.454 GB, free: 122.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003441/2.093, allocations: 1.306 MB / 1.455 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004922/2.093, allocations: 319.1 kB / 1.455 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.093, allocations: 0 / 1.455 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/2.093, allocations: 56.53 kB / 1.455 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/2.094, allocations: 39.05 kB / 1.455 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/2.307, allocations: 55.81 MB / 1.51 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/2.307, allocations: 0.8889 MB / 1.511 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/2.307, allocations: 4 kB / 1.511 GB, free: 63.95 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1)