Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",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.00107/0.00107, allocations: 194.9 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008653/0.0008653, allocations: 91.77 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1044/0.1053, allocations: 56.89 MB / 343.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.202, allocations: 51.48 MB / 394.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5318/0.7338, allocations: 273.7 MB / 0.6527 GB, free: 80.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.7341, allocations: 66.47 kB / 0.6528 GB, free: 79.99 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02061/0.7547, allocations: 9.826 MB / 0.6624 GB, free: 72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.7547, allocations: 8 kB / 0.6624 GB, free: 72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.7549, allocations: 19.89 kB / 0.6624 GB, free: 71.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.7551, allocations: 212.8 kB / 0.6626 GB, free: 71.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.7551, allocations: 7.828 kB / 0.6626 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.7552, allocations: 8 kB / 0.6626 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002167/0.7554, allocations: 118.5 kB / 0.6627 GB, free: 71.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.7556, allocations: 178.4 kB / 0.6629 GB, free: 71.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7556, allocations: 3.938 kB / 0.6629 GB, free: 71.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.7557, allocations: 4 kB / 0.6629 GB, free: 71.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7557, allocations: 4 kB / 0.6629 GB, free: 71.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.7567, allocations: 0.9071 MB / 0.6638 GB, free: 70.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.7569, allocations: 119.7 kB / 0.6639 GB, free: 70.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.7569, allocations: 41.09 kB / 0.664 GB, free: 70.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/0.7574, allocations: 0.5093 MB / 0.6645 GB, free: 69.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7574, allocations: 34.47 kB / 0.6645 GB, free: 69.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.7574, allocations: 0 / 0.6645 GB, free: 69.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001756/0.7592, allocations: 0.5951 MB / 0.6651 GB, free: 69.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.469e-05/0.7592, allocations: 55.41 kB / 0.6651 GB, free: 69.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.7593, allocations: 126 kB / 0.6652 GB, free: 69.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7593, allocations: 25.7 kB / 0.6653 GB, free: 69.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.7594, allocations: 150.6 kB / 0.6654 GB, free: 68.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.7594, allocations: 70 kB / 0.6655 GB, free: 68.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.7594, allocations: 0 / 0.6655 GB, free: 68.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.7595, allocations: 325.8 kB / 0.6658 GB, free: 68.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.7596, allocations: 59.16 kB / 0.6658 GB, free: 68.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.7597, allocations: 170 kB / 0.666 GB, free: 68.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.7599, allocations: 84.89 kB / 0.6661 GB, free: 68.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7599, allocations: 3.938 kB / 0.6661 GB, free: 68.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003936/0.7603, allocations: 250.9 kB / 0.6663 GB, free: 68.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.7603, allocations: 4 kB / 0.6663 GB, free: 68.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7603, allocations: 4 kB / 0.6663 GB, free: 68.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7603, allocations: 4 kB / 0.6663 GB, free: 68.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.7607, allocations: 87.28 kB / 0.6664 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7607, allocations: 11.94 kB / 0.6664 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.761, allocations: 15.89 kB / 0.6665 GB, free: 67.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.7611, allocations: 18.92 kB / 0.6665 GB, free: 67.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 7.1e-05/0.7611, allocations: 112.9 kB / 0.6666 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.7612, allocations: 15.81 kB / 0.6666 GB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.7616, allocations: 199 kB / 0.6668 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7617, allocations: 3.938 kB / 0.6668 GB, free: 67.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7617, allocations: 4 kB / 0.6668 GB, free: 67.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.7617, allocations: 3.984 kB / 0.6668 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009186/0.7626, allocations: 0.5116 MB / 0.6673 GB, free: 67.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7626, allocations: 4.031 kB / 0.6673 GB, free: 67.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.7629, allocations: 59.52 kB / 0.6674 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.763, allocations: 0 / 0.6674 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.763, allocations: 7.984 kB / 0.6674 GB, free: 67.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.763, allocations: 4 kB / 0.6674 GB, free: 67.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.763, allocations: 0 / 0.6674 GB, free: 67.05 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003987/0.7634, allocations: 387 kB / 0.6677 GB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004982/0.7639, allocations: 0.8225 MB / 0.6685 GB, free: 65.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.7639, allocations: 89.8 kB / 0.6686 GB, free: 65.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.764, allocations: 7.984 kB / 0.6686 GB, free: 65.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.7643, allocations: 7.984 kB / 0.6686 GB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.7643, allocations: 17.3 kB / 0.6687 GB, free: 65.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.7643, allocations: 11.75 kB / 0.6687 GB, free: 65.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.443e-05/0.7644, allocations: 98.58 kB / 0.6688 GB, free: 65.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009999/0.7654, allocations: 63.56 kB / 0.6688 GB, free: 65.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001833/0.7656, allocations: 151.6 kB / 0.669 GB, free: 65.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.7658, allocations: 166.4 kB / 0.6691 GB, free: 65.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7658, allocations: 0 / 0.6691 GB, free: 65.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.362e-05/0.7659, allocations: 73.86 kB / 0.6692 GB, free: 65.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.7663, allocations: 34.94 kB / 0.6692 GB, free: 65.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.7669, allocations: 277 kB / 0.6695 GB, free: 64.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.7672, allocations: 0.7501 MB / 0.6702 GB, free: 64.2 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7672, allocations: 0 / 0.6702 GB, free: 64.2 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat