Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",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.001061/0.001061, allocations: 207.5 kB / 8.539 MB, free: 1.695 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009239/0.0009238, allocations: 91.14 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1654/0.1654, allocations: 45.15 MB / 383.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1917/0.3571, allocations: 69.36 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08265/0.4397, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.952/8.392, allocations: 5.758 GB / 6.262 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/8.392, allocations: 67.97 kB / 6.262 GB, free: 64.29 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 1.486/9.878, allocations: 401.8 MB / 6.655 GB, free: 54.3 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/9.878, allocations: 8.562 kB / 6.655 GB, free: 54.29 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/9.878, allocations: 14.77 kB / 6.655 GB, free: 54.28 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.916e-05/9.879, allocations: 168 kB / 6.655 GB, free: 54.08 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/9.879, allocations: 0 / 6.655 GB, free: 54.08 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/9.879, allocations: 3.906 kB / 6.655 GB, free: 54.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001072/9.879, allocations: 72.34 kB / 6.655 GB, free: 54.01 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.243e-05/9.879, allocations: 75.55 kB / 6.655 GB, free: 53.94 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/9.879, allocations: 0 / 6.655 GB, free: 53.94 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/9.879, allocations: 0 / 6.655 GB, free: 53.94 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/9.879, allocations: 9.062 kB / 6.655 GB, free: 53.93 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/9.879, allocations: 296.4 kB / 6.655 GB, free: 53.63 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.919e-05/9.879, allocations: 43.14 kB / 6.655 GB, free: 53.58 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/9.879, allocations: 28.92 kB / 6.655 GB, free: 53.55 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003477/9.883, allocations: 2.701 MB / 6.658 GB, free: 50.73 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/9.883, allocations: 35.27 kB / 6.658 GB, free: 50.69 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/9.883, allocations: 96 / 6.658 GB, free: 50.69 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.000252/9.883, allocations: 82.94 kB / 6.658 GB, free: 50.61 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/9.883, allocations: 51.41 kB / 6.658 GB, free: 50.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.478e-05/9.883, allocations: 93.7 kB / 6.658 GB, free: 50.45 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/9.883, allocations: 25.7 kB / 6.658 GB, free: 50.42 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/9.883, allocations: 89.5 kB / 6.658 GB, free: 50.32 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/9.883, allocations: 25.83 kB / 6.658 GB, free: 50.3 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/9.883, allocations: 3.938 kB / 6.658 GB, free: 50.3 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/9.883, allocations: 316.2 kB / 6.659 GB, free: 49.98 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/9.883, allocations: 20.7 kB / 6.659 GB, free: 49.96 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/9.883, allocations: 38.91 kB / 6.659 GB, free: 49.92 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.318e-05/9.883, allocations: 27.36 kB / 6.659 GB, free: 49.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/9.883, allocations: 0 / 6.659 GB, free: 49.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/9.884, allocations: 99.45 kB / 6.659 GB, free: 49.8 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/9.884, allocations: 4.75 kB / 6.659 GB, free: 49.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/9.884, allocations: 0 / 6.659 GB, free: 49.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/9.884, allocations: 4 kB / 6.659 GB, free: 49.79 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/9.884, allocations: 5.781 kB / 6.659 GB, free: 49.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/9.884, allocations: 4 kB / 6.659 GB, free: 49.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/9.884, allocations: 6.766 kB / 6.659 GB, free: 49.78 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/9.884, allocations: 8.031 kB / 6.659 GB, free: 49.77 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.032e-05/9.884, allocations: 101.8 kB / 6.659 GB, free: 49.67 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/9.884, allocations: 7.906 kB / 6.659 GB, free: 49.66 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/9.884, allocations: 160.3 kB / 6.659 GB, free: 49.51 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001585/9.884, allocations: 110.6 kB / 6.659 GB, free: 49.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/9.884, allocations: 0.5625 kB / 6.659 GB, free: 49.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/9.884, allocations: 4.516 kB / 6.659 GB, free: 49.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/9.885, allocations: 404.2 kB / 6.659 GB, free: 49 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/9.885, allocations: 6.578 kB / 6.66 GB, free: 48.99 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/9.885, allocations: 17.86 kB / 6.66 GB, free: 48.98 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/9.885, allocations: 0 / 6.66 GB, free: 48.98 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/9.885, allocations: 0.8906 kB / 6.66 GB, free: 48.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/9.885, allocations: 0 / 6.66 GB, free: 48.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/9.885, allocations: 4 kB / 6.66 GB, free: 48.97 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002075/9.885, allocations: 221.8 kB / 6.66 GB, free: 48.75 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002885/9.885, allocations: 0.6045 MB / 6.66 GB, free: 48.14 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/9.885, allocations: 88.23 kB / 6.66 GB, free: 48.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/9.885, allocations: 0 / 6.66 GB, free: 48.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/9.885, allocations: 9.031 kB / 6.66 GB, free: 48.03 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/9.885, allocations: 3 kB / 6.66 GB, free: 48.03 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/9.885, allocations: 12.59 kB / 6.66 GB, free: 48.02 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.352e-05/9.885, allocations: 79.28 kB / 6.661 GB, free: 47.94 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005015/9.89, allocations: 446.5 kB / 6.661 GB, free: 47.55 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.07178/9.962, allocations: 15.83 MB / 6.676 GB, free: 31.83 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002047/9.963, allocations: 118.8 kB / 6.677 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/9.963, allocations: 0 / 6.677 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/9.963, allocations: 45.41 kB / 6.677 GB, free: 31.67 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/9.963, allocations: 29.23 kB / 6.677 GB, free: 31.65 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/9.963, allocations: 104.9 kB / 6.677 GB, free: 31.54 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/9.963, allocations: 0.7217 MB / 6.677 GB, free: 30.8 MB / 0.5262 GB Notification: Performance of SimCode: time 3.21e-07/9.963, allocations: 0 / 6.677 GB, free: 30.8 MB / 0.5262 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1)