Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001638/0.001638, allocations: 202.1 kB / 8.543 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008806/0.0008808, allocations: 86.64 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1708/0.1708, allocations: 45.13 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1883/0.3592, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07903/0.4382, allocations: 63.25 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5977/1.036, allocations: 378.4 MB / 0.8734 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/1.036, allocations: 75.77 kB / 0.8735 GB, free: 78.78 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.04446/1.081, allocations: 19.66 MB / 0.8927 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/1.081, allocations: 8 kB / 0.8927 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/1.081, allocations: 31.72 kB / 0.8927 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/1.081, allocations: 218.4 kB / 0.8929 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/1.081, allocations: 119.3 kB / 0.893 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.081, allocations: 12 kB / 0.893 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006429/1.082, allocations: 0.7098 MB / 0.8937 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/1.082, allocations: 290.2 kB / 0.894 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.082, allocations: 3.906 kB / 0.894 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.082, allocations: 0 / 0.894 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/1.082, allocations: 8 kB / 0.894 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/1.084, allocations: 3.502 MB / 0.8974 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/1.085, allocations: 54.19 kB / 0.8975 GB, free: 57.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/1.085, allocations: 12.95 kB / 0.8975 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/1.085, allocations: 449.5 kB / 0.8979 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/1.085, allocations: 42.66 kB / 0.898 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/1.085, allocations: 0 / 0.898 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000166/1.085, allocations: 57.41 kB / 0.898 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.417e-05/1.085, allocations: 51.41 kB / 0.8981 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.085, allocations: 215.1 kB / 0.8983 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/1.085, allocations: 25.7 kB / 0.8983 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/1.085, allocations: 253.5 kB / 0.8985 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/1.086, allocations: 7.719 kB / 0.8985 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/1.086, allocations: 4 kB / 0.8985 GB, free: 56.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/1.086, allocations: 330.4 kB / 0.8989 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/1.086, allocations: 32.56 kB / 0.8989 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/1.086, allocations: 350.9 kB / 0.8992 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/1.086, allocations: 119.3 kB / 0.8993 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.086, allocations: 4 kB / 0.8993 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006562/1.087, allocations: 328.6 kB / 0.8997 GB, free: 54.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.087, allocations: 4 kB / 0.8997 GB, free: 54.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.087, allocations: 12 kB / 0.8997 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.087, allocations: 23.97 kB / 0.8997 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/1.087, allocations: 95.7 kB / 0.8998 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.087, allocations: 27.86 kB / 0.8998 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/1.087, allocations: 47.44 kB / 0.8999 GB, free: 54.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/1.087, allocations: 31.92 kB / 0.8999 GB, free: 54.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 5.858e-05/1.088, allocations: 128.4 kB / 0.9 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/1.088, allocations: 19.72 kB / 0.9 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/1.088, allocations: 24.55 kB / 0.9001 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.088, allocations: 0 / 0.9001 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.088, allocations: 0 / 0.9001 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.088, allocations: 0 / 0.9001 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.088, allocations: 169.3 kB / 0.9002 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.088, allocations: 0 / 0.9002 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/1.088, allocations: 0 / 0.9002 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.088, allocations: 0 / 0.9002 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/1.088, allocations: 4 kB / 0.9002 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.088, allocations: 3.906 kB / 0.9002 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.088, allocations: 3.938 kB / 0.9002 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.72e-05/1.088, allocations: 151.3 kB / 0.9004 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000141/1.088, allocations: 0.5267 MB / 0.9009 GB, free: 53.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/1.088, allocations: 108.6 kB / 0.901 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/1.088, allocations: 3.906 kB / 0.901 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.088, allocations: 12.05 kB / 0.901 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/1.088, allocations: 0 / 0.901 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/1.088, allocations: 0 / 0.901 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.435e-05/1.089, allocations: 144.2 kB / 0.9011 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001132/1.09, allocations: 99.73 kB / 0.9012 GB, free: 53.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001866/1.09, allocations: 154.8 kB / 0.9014 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002065/1.09, allocations: 134.2 kB / 0.9015 GB, free: 53.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/1.09, allocations: 2.5 kB / 0.9015 GB, free: 53.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/1.09, allocations: 7.938 kB / 0.9015 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/1.09, allocations: 19.59 kB / 0.9015 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/1.1, allocations: 4.281 MB / 0.9057 GB, free: 49.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/1.1, allocations: 0.7475 MB / 0.9064 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/1.1, allocations: 4 kB / 0.9065 GB, free: 48.89 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)