Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 181.2 kB / 8.516 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 221.4 MB / 230.3 MB, free: 7.645 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008884, allocations: 94.3 kB / 281.2 MB, free: 5.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1603/0.1603, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1715/0.3318, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.4236, allocations: 61.9 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.712, allocations: 0.832 GB / 1.326 GB, free: 174.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/1.712, allocations: 71.45 kB / 1.326 GB, free: 174.2 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.2061/1.918, allocations: 102.9 MB / 1.427 GB, free: 70.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/1.918, allocations: 11.94 kB / 1.427 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009932/1.928, allocations: 1.528 MB / 1.428 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/1.929, allocations: 394.3 kB / 1.429 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/1.929, allocations: 119.6 kB / 1.429 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/1.929, allocations: 27.94 kB / 1.429 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002549/1.932, allocations: 1.685 MB / 1.43 GB, free: 66.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/1.933, allocations: 0.886 MB / 1.431 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.933, allocations: 0 / 1.431 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/1.933, allocations: 0 / 1.431 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/1.933, allocations: 56.73 kB / 1.431 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/1.936, allocations: 3.587 MB / 1.435 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/1.936, allocations: 74.53 kB / 1.435 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/1.937, allocations: 28.92 kB / 1.435 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/1.937, allocations: 186.3 kB / 1.435 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/1.937, allocations: 46.45 kB / 1.435 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/1.937, allocations: 0 / 1.435 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.003992/1.941, allocations: 0.8589 MB / 1.436 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.424e-05/1.941, allocations: 51.41 kB / 1.436 GB, free: 60.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/1.941, allocations: 337.6 kB / 1.436 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/1.941, allocations: 25.7 kB / 1.436 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.941, allocations: 376.9 kB / 1.437 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/1.941, allocations: 51.44 kB / 1.437 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/1.941, allocations: 0 / 1.437 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/1.941, allocations: 346.8 kB / 1.437 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/1.941, allocations: 109.5 kB / 1.437 GB, free: 59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/1.942, allocations: 0.5473 MB / 1.438 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/1.942, allocations: 306.2 kB / 1.438 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.942, allocations: 12 kB / 1.438 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001283/1.944, allocations: 0.6582 MB / 1.439 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.944, allocations: 8 kB / 1.439 GB, free: 57.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.944, allocations: 16 kB / 1.439 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.944, allocations: 24 kB / 1.439 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/1.944, allocations: 199.7 kB / 1.439 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002233/1.945, allocations: 0.6251 MB / 1.44 GB, free: 56.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/1.945, allocations: 24.09 kB / 1.44 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/1.945, allocations: 67.92 kB / 1.44 GB, free: 56.28 MB / 0.5105 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.787e-05/1.945, allocations: 140.5 kB / 1.44 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/1.945, allocations: 35.62 kB / 1.44 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/1.946, allocations: 225.1 kB / 1.44 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.946, allocations: 4 kB / 1.44 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.946, allocations: 4 kB / 1.44 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.946, allocations: 7.984 kB / 1.44 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/1.946, allocations: 0.5406 MB / 1.441 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.946, allocations: 64 / 1.441 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/1.947, allocations: 39.98 kB / 1.441 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.947, allocations: 0 / 1.441 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.947, allocations: 11.97 kB / 1.441 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000172/1.947, allocations: 0.5859 MB / 1.441 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.947, allocations: 3.938 kB / 1.441 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002004/1.947, allocations: 252.3 kB / 1.441 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003482/1.947, allocations: 0.653 MB / 1.442 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.948, allocations: 128.7 kB / 1.442 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/1.948, allocations: 0 / 1.442 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/1.948, allocations: 7.906 kB / 1.442 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/1.948, allocations: 7.984 kB / 1.442 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/1.948, allocations: 19.98 kB / 1.442 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001718/1.948, allocations: 224.6 kB / 1.442 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002165/1.95, allocations: 0.4918 MB / 1.443 GB, free: 52.72 MB / 0.5105 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.002965/1.953, allocations: 1.298 MB / 1.444 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005965/1.954, allocations: 323.3 kB / 1.444 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.954, allocations: 0 / 1.444 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/1.954, allocations: 51.86 kB / 1.445 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/1.954, allocations: 36.23 kB / 1.445 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3124/2.267, allocations: 53.14 MB / 1.496 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/2.267, allocations: 0.8867 MB / 1.497 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/2.267, allocations: 0 / 1.497 GB, free: 176.6 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1)