Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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) 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(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",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.001039/0.001039, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009066/0.0009064, allocations: 90.39 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1017/0.1026, allocations: 56.88 MB / 343.2 MB, free: 8.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.1933, allocations: 51.49 MB / 394.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7535/0.9469, allocations: 443.3 MB / 0.8184 GB, free: 93.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.9471, allocations: 59.98 kB / 0.8184 GB, free: 93.76 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.04948/0.9966, allocations: 25.31 MB / 0.8431 GB, free: 68.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.9967, allocations: 8 kB / 0.8431 GB, free: 68.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/1.003, allocations: 0.5435 MB / 0.8437 GB, free: 67.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.486e-05/1.003, allocations: 167 kB / 0.8438 GB, free: 67.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/1.003, allocations: 4 kB / 0.8438 GB, free: 67.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/1.003, allocations: 7.984 kB / 0.8438 GB, free: 67.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004433/1.003, allocations: 227.9 kB / 0.8441 GB, free: 67.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/1.004, allocations: 113.5 kB / 0.8442 GB, free: 67.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.004, allocations: 0 / 0.8442 GB, free: 67.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/1.004, allocations: 0 / 0.8442 GB, free: 67.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.004, allocations: 0 / 0.8442 GB, free: 67.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/1.005, allocations: 393 kB / 0.8445 GB, free: 66.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/1.005, allocations: 145.6 kB / 0.8447 GB, free: 66.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/1.005, allocations: 64.94 kB / 0.8447 GB, free: 66.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/1.005, allocations: 0 / 0.8447 GB, free: 66.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/1.005, allocations: 34.56 kB / 0.8448 GB, free: 66.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/1.005, allocations: 0 / 0.8448 GB, free: 66.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001105/1.007, allocations: 293.5 kB / 0.8451 GB, free: 66.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.355e-05/1.007, allocations: 55.41 kB / 0.8451 GB, free: 66.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/1.007, allocations: 97.55 kB / 0.8452 GB, free: 66.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.007, allocations: 25.7 kB / 0.8452 GB, free: 66.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/1.007, allocations: 95.89 kB / 0.8453 GB, free: 66.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/1.007, allocations: 59.11 kB / 0.8454 GB, free: 66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/1.007, allocations: 0 / 0.8454 GB, free: 66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.868e-05/1.007, allocations: 318.8 kB / 0.8457 GB, free: 65.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/1.007, allocations: 58.75 kB / 0.8457 GB, free: 65.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/1.007, allocations: 104.8 kB / 0.8458 GB, free: 65.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/1.007, allocations: 57.84 kB / 0.8459 GB, free: 65.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/1.007, allocations: 4 kB / 0.8459 GB, free: 65.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003095/1.007, allocations: 185.6 kB / 0.8461 GB, free: 65.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.007, allocations: 15.56 kB / 0.8461 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.007, allocations: 0 / 0.8461 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/1.007, allocations: 4 kB / 0.8461 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/1.008, allocations: 55.88 kB / 0.8461 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.008, allocations: 0 / 0.8461 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/1.008, allocations: 11.98 kB / 0.8461 GB, free: 65.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/1.008, allocations: 19.19 kB / 0.8462 GB, free: 65.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7e-05/1.008, allocations: 112.9 kB / 0.8463 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/1.008, allocations: 7.906 kB / 0.8463 GB, free: 65.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005464/1.009, allocations: 233.7 kB / 0.8465 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.009, allocations: 0 / 0.8465 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.009, allocations: 0 / 0.8465 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.009, allocations: 11.91 kB / 0.8465 GB, free: 64.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/1.01, allocations: 0.4907 MB / 0.847 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.01, allocations: 0 / 0.847 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/1.01, allocations: 51.89 kB / 0.847 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.01, allocations: 4 kB / 0.847 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/1.01, allocations: 3.984 kB / 0.8471 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.01, allocations: 4 kB / 0.8471 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.01, allocations: 4.062 kB / 0.8471 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002884/1.01, allocations: 304.3 kB / 0.8474 GB, free: 63.85 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003793/1.011, allocations: 0.682 MB / 0.848 GB, free: 63.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/1.011, allocations: 85.02 kB / 0.8481 GB, free: 63.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/1.011, allocations: 4 kB / 0.8481 GB, free: 63.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/1.011, allocations: 15.92 kB / 0.8481 GB, free: 63.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/1.011, allocations: 19.88 kB / 0.8481 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/1.011, allocations: 12 kB / 0.8481 GB, free: 62.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.914e-05/1.011, allocations: 75.28 kB / 0.8482 GB, free: 62.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009987/1.012, allocations: 115.9 kB / 0.8483 GB, free: 62.79 MB / 442.7 MB 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005424/1.013, allocations: 0.6138 MB / 0.8489 GB, free: 62.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/1.013, allocations: 147 kB / 0.8491 GB, free: 62.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.013, allocations: 0 / 0.8491 GB, free: 62.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/1.013, allocations: 79.92 kB / 0.8491 GB, free: 61.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/1.013, allocations: 37.94 kB / 0.8492 GB, free: 61.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/1.014, allocations: 172 kB / 0.8493 GB, free: 61.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/1.014, allocations: 0.7512 MB / 0.8501 GB, free: 60.95 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/1.014, allocations: 0 / 0.8501 GB, free: 60.95 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat