Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 185.8 kB / 7.8 MB, free: 2.5 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.458/1.458, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001064/0.001063, allocations: 87.64 kB / 261.4 MB, free: 13.54 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.2155/0.2155, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2372/0.4527, allocations: 64.95 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.835, allocations: 58.84 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.75/2.585, allocations: 0.8663 GB / 1.332 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/2.585, allocations: 75.47 kB / 1.332 GB, free: 73.54 MB / 0.4948 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.4661/3.051, allocations: 110.7 MB / 1.44 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/3.052, allocations: 10.94 kB / 1.44 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/3.062, allocations: 1.48 MB / 1.441 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/3.063, allocations: 382 kB / 1.442 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/3.063, allocations: 119.4 kB / 1.442 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/3.064, allocations: 20.19 kB / 1.442 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003747/3.068, allocations: 1.704 MB / 1.444 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/3.069, allocations: 0.895 MB / 1.445 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/3.069, allocations: 0 / 1.445 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/3.069, allocations: 2.719 kB / 1.445 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.417e-05/3.07, allocations: 52.94 kB / 1.445 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005989/3.076, allocations: 3.685 MB / 1.448 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/3.076, allocations: 75.53 kB / 1.448 GB, free: 151 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/3.076, allocations: 24.05 kB / 1.448 GB, free: 151 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/3.076, allocations: 229.5 kB / 1.448 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/3.076, allocations: 32.97 kB / 1.449 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 3.988e-06/3.076, allocations: 0 / 1.449 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.004914/3.081, allocations: 0.84 MB / 1.449 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/3.081, allocations: 57.69 kB / 1.449 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/3.082, allocations: 343.2 kB / 1.45 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/3.082, allocations: 25.7 kB / 1.45 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/3.082, allocations: 375.1 kB / 1.45 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/3.082, allocations: 53.66 kB / 1.45 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/3.082, allocations: 0 / 1.45 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/3.082, allocations: 343.1 kB / 1.45 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/3.082, allocations: 107.6 kB / 1.451 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/3.083, allocations: 0.5435 MB / 1.451 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/3.084, allocations: 251.4 kB / 1.451 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/3.084, allocations: 4.375 kB / 1.451 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001875/3.086, allocations: 0.6084 MB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/3.086, allocations: 5 kB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/3.086, allocations: 16.28 kB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.744e-05/3.086, allocations: 24.53 kB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/3.086, allocations: 209.1 kB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003151/3.087, allocations: 0.6266 MB / 1.453 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/3.087, allocations: 15.41 kB / 1.453 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/3.088, allocations: 68.83 kB / 1.453 GB, free: 147.4 MB / 0.4948 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 0.0001451/3.088, allocations: 149.2 kB / 1.453 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/3.088, allocations: 34.03 kB / 1.453 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/3.088, allocations: 172.1 kB / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/3.088, allocations: 1.062 kB / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/3.088, allocations: 0 / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/3.088, allocations: 1.094 kB / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/3.089, allocations: 0.5546 MB / 1.454 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/3.089, allocations: 1.125 kB / 1.454 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/3.089, allocations: 45.7 kB / 1.454 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/3.089, allocations: 1.406 kB / 1.454 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/3.089, allocations: 9.969 kB / 1.454 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002157/3.09, allocations: 0.5873 MB / 1.454 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/3.09, allocations: 1.094 kB / 1.454 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002428/3.09, allocations: 250.4 kB / 1.455 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004558/3.09, allocations: 0.6518 MB / 1.455 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/3.09, allocations: 132 kB / 1.455 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/3.09, allocations: 6 kB / 1.455 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/3.091, allocations: 4.219 kB / 1.455 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/3.091, allocations: 12.42 kB / 1.455 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/3.091, allocations: 9.406 kB / 1.455 GB, free: 145 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002597/3.091, allocations: 230.6 kB / 1.456 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003416/3.095, allocations: 0.549 MB / 1.456 GB, free: 144.6 MB / 0.4948 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.004442/3.099, allocations: 1.432 MB / 1.458 GB, free: 144 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008694/3.1, allocations: 317.7 kB / 1.458 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/3.1, allocations: 0.9688 kB / 1.458 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/3.1, allocations: 49.11 kB / 1.458 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/3.1, allocations: 36.27 kB / 1.458 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1742/3.275, allocations: 51.95 MB / 1.509 GB, free: 93.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/3.275, allocations: 0.8733 MB / 1.51 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of SimCode: time 1.262e-06/3.275, allocations: 0 / 1.51 GB, free: 92.68 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1)