Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 186.3 kB / 8.521 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 230.3 MB, free: 7.738 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009031, allocations: 96.64 kB / 281.2 MB, free: 5.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1795/0.1795, allocations: 44.15 MB / 376.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2259/0.4055, allocations: 68.04 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.5121, allocations: 61.91 MB / 0.4942 GB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/0.8152, allocations: 87.36 MB / 0.5795 GB, free: 9.371 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.8155, allocations: 70.94 kB / 0.5796 GB, free: 9.336 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0117/0.8272, allocations: 4.349 MB / 0.5838 GB, free: 4.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8272, allocations: 15.94 kB / 0.5838 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.8273, allocations: 15.75 kB / 0.5838 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.8275, allocations: 199.6 kB / 0.584 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.8276, allocations: 4 kB / 0.584 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.8276, allocations: 3.984 kB / 0.584 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.978e-05/0.8277, allocations: 16 kB / 0.584 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.135e-05/0.8277, allocations: 49.53 kB / 0.5841 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8278, allocations: 7.984 kB / 0.5841 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.8278, allocations: 4 kB / 0.5841 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.8278, allocations: 0 / 0.5841 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.8282, allocations: 289.3 kB / 0.5844 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.8283, allocations: 33.72 kB / 0.5844 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.8283, allocations: 16.8 kB / 0.5844 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.8283, allocations: 0 / 0.5844 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.8284, allocations: 38.58 kB / 0.5845 GB, free: 4.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.8284, allocations: 0 / 0.5845 GB, free: 4.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005104/0.8289, allocations: 161.2 kB / 0.5846 GB, free: 4.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.8289, allocations: 55.41 kB / 0.5847 GB, free: 3.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.8291, allocations: 198.6 kB / 0.5849 GB, free: 3.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.8292, allocations: 25.7 kB / 0.5849 GB, free: 3.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.8292, allocations: 96.03 kB / 0.585 GB, free: 3.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.8292, allocations: 27.64 kB / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.8292, allocations: 0 / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8294, allocations: 326.8 kB / 0.5853 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.8294, allocations: 23.94 kB / 0.5853 GB, free: 3.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.8295, allocations: 20 kB / 0.5854 GB, free: 3.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.8295, allocations: 23.98 kB / 0.5854 GB, free: 3.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8295, allocations: 0 / 0.5854 GB, free: 3.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001409/0.8297, allocations: 93.7 kB / 0.5855 GB, free: 3.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8297, allocations: 4 kB / 0.5855 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.8297, allocations: 0 / 0.5855 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.8297, allocations: 0 / 0.5855 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.8298, allocations: 27.98 kB / 0.5855 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.8299, allocations: 4 kB / 0.5855 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.8299, allocations: 4 kB / 0.5855 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.8299, allocations: 0 / 0.5855 GB, free: 3.086 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 (8): * Single equations (assignments): 8 * 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 6.935e-05/0.83, allocations: 116.8 kB / 0.5856 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.83, allocations: 7.906 kB / 0.5856 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.8303, allocations: 119 kB / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.8303, allocations: 0 / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8303, allocations: 0 / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8303, allocations: 0 / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.8308, allocations: 387.8 kB / 0.5861 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8308, allocations: 7.938 kB / 0.5861 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.8309, allocations: 24.02 kB / 0.5861 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8309, allocations: 3.938 kB / 0.5861 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.8309, allocations: 0 / 0.5861 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8309, allocations: 0 / 0.5861 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.8309, allocations: 4.234 kB / 0.5861 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002102/0.8311, allocations: 209.8 kB / 0.5863 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002712/0.8314, allocations: 0.5764 MB / 0.5869 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.8315, allocations: 89.02 kB / 0.587 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.8315, allocations: 3.984 kB / 0.587 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.8316, allocations: 8 kB / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.8316, allocations: 11.89 kB / 0.587 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.8317, allocations: 4 kB / 0.587 GB, free: 1.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001256/0.8318, allocations: 167.2 kB / 0.5872 GB, free: 1.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008458/0.8326, allocations: 31.92 kB / 0.5872 GB, free: 1.211 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006496/0.8333, allocations: 340 kB / 0.5875 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.8334, allocations: 55.97 kB / 0.5876 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8334, allocations: 3.938 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.8335, allocations: 31.98 kB / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.8337, allocations: 10.3 kB / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.8342, allocations: 208.3 kB / 0.5878 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.8346, allocations: 0.7309 MB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.8346, allocations: 4 kB / 0.5885 GB, free: 15.87 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat does not exist to compare? outputFormat=mat