Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",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.00122/0.00122, allocations: 186.6 kB / 8.48 MB, free: 1.836 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.481/1.481, allocations: 205.2 MB / 214.1 MB, free: 5.094 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.001009/0.001009, allocations: 79.34 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2198/0.2208, allocations: 52.96 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.3091, allocations: 47.57 MB / 362.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.81/11.12, allocations: 5.795 GB / 6.149 GB, free: 124 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/11.12, allocations: 78.28 kB / 6.149 GB, free: 124 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 4.461/15.59, allocations: 1.309 GB / 7.459 GB, free: 1.965 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/15.59, allocations: 8 kB / 7.459 GB, free: 1.957 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007919/15.59, allocations: 95.28 kB / 7.459 GB, free: 1.863 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/15.59, allocations: 378.8 kB / 7.459 GB, free: 1.477 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/15.59, allocations: 20 kB / 7.459 GB, free: 1.457 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/15.59, allocations: 31.91 kB / 7.459 GB, free: 1.426 MB / 0.6359 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007113/15.59, allocations: 453.8 kB / 7.46 GB, free: 0.9844 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/15.59, allocations: 0.5015 MB / 7.46 GB, free: 448 kB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/15.59, allocations: 7.984 kB / 7.46 GB, free: 440 kB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/15.59, allocations: 0 / 7.46 GB, free: 440 kB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/15.59, allocations: 12 kB / 7.46 GB, free: 428 kB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007166/15.6, allocations: 6.522 MB / 7.467 GB, free: 9.555 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/15.6, allocations: 230.4 kB / 7.467 GB, free: 9.324 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/15.6, allocations: 183.2 kB / 7.467 GB, free: 9.145 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003026/15.6, allocations: 2.433 MB / 7.469 GB, free: 6.309 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/15.6, allocations: 38.56 kB / 7.469 GB, free: 6.262 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=44): time 3.838e-06/15.6, allocations: 3.984 kB / 7.469 GB, free: 6.258 MB / 0.6515 GB Notification: Performance of matching and sorting (n=52): time 0.007372/15.61, allocations: 1.664 MB / 7.471 GB, free: 4.559 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/15.61, allocations: 55.84 kB / 7.471 GB, free: 4.492 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/15.61, allocations: 245.3 kB / 7.471 GB, free: 4.246 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/15.61, allocations: 25.7 kB / 7.471 GB, free: 4.215 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/15.61, allocations: 218.3 kB / 7.472 GB, free: 4.016 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/15.61, allocations: 181.2 kB / 7.472 GB, free: 3.859 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/15.61, allocations: 0 / 7.472 GB, free: 3.859 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001373/15.61, allocations: 350.8 kB / 7.472 GB, free: 3.508 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/15.61, allocations: 169.3 kB / 7.472 GB, free: 3.34 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/15.61, allocations: 314.8 kB / 7.473 GB, free: 2.977 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/15.61, allocations: 328.5 kB / 7.473 GB, free: 2.652 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/15.61, allocations: 0 / 7.473 GB, free: 2.652 MB / 0.6515 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002846/15.61, allocations: 0.7867 MB / 7.474 GB, free: 1.848 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/15.61, allocations: 4.562 kB / 7.474 GB, free: 1.844 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/15.61, allocations: 8 kB / 7.474 GB, free: 1.836 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/15.61, allocations: 94.47 kB / 7.474 GB, free: 1.734 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/15.61, allocations: 147.7 kB / 7.474 GB, free: 1.59 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2894/15.9, allocations: 2.963 MB / 7.477 GB, free: 84.67 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/15.9, allocations: 36.78 kB / 7.477 GB, free: 84.67 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/15.9, allocations: 32.73 kB / 7.477 GB, free: 84.67 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * 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: 3 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001345/15.9, allocations: 122.4 kB / 7.477 GB, free: 84.57 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/15.9, allocations: 93.64 kB / 7.477 GB, free: 84.57 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/15.91, allocations: 1.178 MB / 7.478 GB, free: 84.48 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/15.91, allocations: 5.125 kB / 7.478 GB, free: 84.48 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/15.91, allocations: 2.312 kB / 7.478 GB, free: 84.48 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001719/15.91, allocations: 1.136 MB / 7.479 GB, free: 84.09 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/15.91, allocations: 1.695 MB / 7.481 GB, free: 83.78 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/15.91, allocations: 3.75 kB / 7.481 GB, free: 83.78 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/15.91, allocations: 97.81 kB / 7.481 GB, free: 83.78 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/15.91, allocations: 121.8 kB / 7.481 GB, free: 83.76 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/15.91, allocations: 10.97 kB / 7.481 GB, free: 83.76 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004764/15.91, allocations: 1.187 MB / 7.482 GB, free: 82.73 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/15.91, allocations: 0 / 7.482 GB, free: 82.73 MB / 0.6515 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002187/15.91, allocations: 1.315 MB / 7.484 GB, free: 82.51 MB / 0.6515 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002843/15.92, allocations: 2.108 MB / 7.486 GB, free: 81.89 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/15.92, allocations: 122.7 kB / 7.486 GB, free: 81.78 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/15.92, allocations: 2.156 kB / 7.486 GB, free: 81.78 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/15.92, allocations: 22.14 kB / 7.486 GB, free: 81.77 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/15.92, allocations: 37.2 kB / 7.486 GB, free: 81.77 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/15.92, allocations: 19.12 kB / 7.486 GB, free: 81.77 MB / 0.6515 GB Notification: Performance of sort global known variables: time 0.0001511/15.92, allocations: 193.6 kB / 7.486 GB, free: 81.69 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01376/15.93, allocations: 1.324 MB / 7.487 GB, free: 81.69 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.2228/16.15, allocations: 45.54 MB / 7.532 GB, free: 58.47 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0018/16.16, allocations: 0.7593 MB / 7.533 GB, free: 58.36 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/16.16, allocations: 2.156 kB / 7.533 GB, free: 58.36 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/16.16, allocations: 454.9 kB / 7.533 GB, free: 58.36 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/16.16, allocations: 197.4 kB / 7.533 GB, free: 58.34 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/16.16, allocations: 1.07 MB / 7.534 GB, free: 58.09 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/16.16, allocations: 0.9397 MB / 7.535 GB, free: 57.38 MB / 0.6515 GB Notification: Performance of SimCode: time 4.2e-07/16.16, allocations: 1.969 kB / 7.535 GB, free: 57.38 MB / 0.6515 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)