Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.00113/0.00113, allocations: 199.7 kB / 8.538 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, 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.0009062/0.0009059, allocations: 97.75 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1703/0.1703, allocations: 45.15 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2041/0.3744, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.4612, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.7168, allocations: 85.4 MB / 0.5873 GB, free: 1.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001624/0.717, allocations: 63.09 kB / 0.5873 GB, free: 1.312 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.002498/0.7195, allocations: 0.9305 MB / 0.5882 GB, free: 460 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.7196, allocations: 8 kB / 0.5882 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.7196, allocations: 7.906 kB / 0.5882 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.888e-05/0.7197, allocations: 170.9 kB / 0.5884 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.7197, allocations: 4 kB / 0.5884 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.7197, allocations: 1.625 kB / 0.5884 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.191e-05/0.7198, allocations: 43.03 kB / 0.5885 GB, free: 192 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.846e-05/0.7199, allocations: 49.56 kB / 0.5885 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.7199, allocations: 4 kB / 0.5885 GB, free: 140 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.7199, allocations: 0 / 0.5885 GB, free: 140 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7199, allocations: 4 kB / 0.5885 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.7201, allocations: 150 kB / 0.5886 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.7202, allocations: 65.05 kB / 0.5887 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.7203, allocations: 23.11 kB / 0.5887 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.7206, allocations: 259.3 kB / 0.589 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7206, allocations: 37.75 kB / 0.589 GB, free: 15.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.7206, allocations: 2.734 kB / 0.589 GB, free: 15.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002592/0.7209, allocations: 83.14 kB / 0.5891 GB, free: 15.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.7209, allocations: 55.41 kB / 0.5892 GB, free: 15.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.721, allocations: 85 kB / 0.5892 GB, free: 15.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.721, allocations: 25.7 kB / 0.5893 GB, free: 15.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.721, allocations: 83.64 kB / 0.5893 GB, free: 15.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.7211, allocations: 35.17 kB / 0.5894 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.7211, allocations: 0 / 0.5894 GB, free: 15.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.7212, allocations: 318.8 kB / 0.5897 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.7212, allocations: 14.94 kB / 0.5897 GB, free: 14.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.7213, allocations: 15.3 kB / 0.5897 GB, free: 14.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.7214, allocations: 19.11 kB / 0.5897 GB, free: 14.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7214, allocations: 0 / 0.5897 GB, free: 14.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.7216, allocations: 87.88 kB / 0.5898 GB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.7216, allocations: 4 kB / 0.5898 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7216, allocations: 4 kB / 0.5898 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.7216, allocations: 4.094 kB / 0.5898 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.7217, allocations: 23.25 kB / 0.5898 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.7217, allocations: 3.906 kB / 0.5898 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.7218, allocations: 0.875 kB / 0.5898 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.7218, allocations: 4 kB / 0.5898 GB, free: 14.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 5.852e-05/0.7218, allocations: 105 kB / 0.5899 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.7219, allocations: 7.906 kB / 0.59 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.7221, allocations: 103.5 kB / 0.5901 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7221, allocations: 3.984 kB / 0.5901 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7221, allocations: 224 / 0.5901 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7221, allocations: 0 / 0.5901 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.7223, allocations: 157 kB / 0.5902 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7223, allocations: 0 / 0.5902 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.7223, allocations: 15.98 kB / 0.5902 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7223, allocations: 0 / 0.5902 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.7224, allocations: 0 / 0.5902 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7224, allocations: 0 / 0.5902 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7224, allocations: 11.91 kB / 0.5902 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001967/0.7226, allocations: 110.8 kB / 0.5903 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002926/0.7229, allocations: 490.8 kB / 0.5908 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.7229, allocations: 85.02 kB / 0.5909 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.723, allocations: 288 / 0.5909 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.664e-05/0.723, allocations: 4 kB / 0.5909 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.723, allocations: 3.984 kB / 0.5909 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.723, allocations: 11.38 kB / 0.5909 GB, free: 13.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.721e-05/0.7231, allocations: 75.28 kB / 0.591 GB, free: 13.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007799/0.7238, allocations: 23.84 kB / 0.591 GB, free: 13.4 MB / 394.7 MB 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 (10): * Single equations (assignments): 10 * 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.00015/0.724, allocations: 111.2 kB / 0.5911 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.7241, allocations: 46.19 kB / 0.5912 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7241, allocations: 4.094 kB / 0.5912 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.7242, allocations: 30.62 kB / 0.5912 GB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.7243, allocations: 3.266 kB / 0.5912 GB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.7246, allocations: 89.7 kB / 0.5913 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.7248, allocations: 0.6958 MB / 0.592 GB, free: 12.4 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7248, allocations: 0 / 0.592 GB, free: 12.4 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat