Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001577/0.001577, allocations: 173.8 kB / 8.518 MB, free: 1.832 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.417/1.417, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0009287/0.0009286, allocations: 90.47 kB / 281.2 MB, free: 5.508 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.2099/0.2099, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2484/0.4584, allocations: 68.02 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.5448, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/0.8385, allocations: 87.35 MB / 0.5795 GB, free: 9.395 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.8389, allocations: 75.95 kB / 0.5795 GB, free: 9.32 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.0113/0.8502, allocations: 4.292 MB / 0.5837 GB, free: 4.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.8502, allocations: 15.94 kB / 0.5838 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.8503, allocations: 7.906 kB / 0.5838 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.8505, allocations: 210.7 kB / 0.584 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.8505, allocations: 0 / 0.584 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.8506, allocations: 0 / 0.584 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.368e-05/0.8506, allocations: 23.98 kB / 0.584 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.284e-05/0.8507, allocations: 49.67 kB / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.8507, allocations: 0 / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.8508, allocations: 0 / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8508, allocations: 0 / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.8512, allocations: 297.2 kB / 0.5843 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.8513, allocations: 29.7 kB / 0.5843 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.8513, allocations: 20.8 kB / 0.5844 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.8513, allocations: 0 / 0.5844 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.8513, allocations: 34.56 kB / 0.5844 GB, free: 4.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.8514, allocations: 0 / 0.5844 GB, free: 4.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000514/0.8519, allocations: 153.2 kB / 0.5845 GB, free: 4.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.8519, allocations: 51.41 kB / 0.5846 GB, free: 4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.8521, allocations: 181.4 kB / 0.5848 GB, free: 3.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.8521, allocations: 25.7 kB / 0.5848 GB, free: 3.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.8522, allocations: 96.03 kB / 0.5849 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.8522, allocations: 27.64 kB / 0.5849 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.8522, allocations: 0 / 0.5849 GB, free: 3.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8523, allocations: 326.7 kB / 0.5852 GB, free: 3.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.8524, allocations: 20 kB / 0.5852 GB, free: 3.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.8524, allocations: 24.06 kB / 0.5853 GB, free: 3.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.8525, allocations: 23.98 kB / 0.5853 GB, free: 3.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.8525, allocations: 4.75 kB / 0.5853 GB, free: 3.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001375/0.8526, allocations: 93.58 kB / 0.5854 GB, free: 3.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.8526, allocations: 4 kB / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8526, allocations: 0 / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8527, allocations: 0 / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.8528, allocations: 19.98 kB / 0.5854 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.8528, allocations: 0 / 0.5854 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.8529, allocations: 15.91 kB / 0.5854 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.8529, allocations: 3.938 kB / 0.5854 GB, free: 3.121 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.703e-05/0.8529, allocations: 109 kB / 0.5855 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.853, allocations: 11.81 kB / 0.5855 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.8532, allocations: 106.3 kB / 0.5856 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8532, allocations: 4 kB / 0.5856 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.8532, allocations: 3.984 kB / 0.5856 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8532, allocations: 0 / 0.5856 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.8537, allocations: 387.9 kB / 0.586 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8537, allocations: 0 / 0.586 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.8538, allocations: 19.98 kB / 0.586 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.8538, allocations: 7.938 kB / 0.586 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.8538, allocations: 0 / 0.586 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8538, allocations: 0 / 0.586 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8538, allocations: 4.031 kB / 0.586 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001934/0.854, allocations: 205.9 kB / 0.5862 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003242/0.8543, allocations: 0.5726 MB / 0.5868 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.8544, allocations: 96.91 kB / 0.5869 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.8544, allocations: 0 / 0.5869 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.8545, allocations: 8 kB / 0.5869 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.8546, allocations: 11.98 kB / 0.5869 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8546, allocations: 0 / 0.5869 GB, free: 1.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001108/0.8547, allocations: 148.1 kB / 0.5871 GB, free: 1.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008265/0.8555, allocations: 39.83 kB / 0.5871 GB, free: 1.273 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.0008617/0.8564, allocations: 336.1 kB / 0.5874 GB, free: 1.031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.8566, allocations: 55.98 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8566, allocations: 4 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.8567, allocations: 31.92 kB / 0.5875 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.857, allocations: 20.03 kB / 0.5875 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.8575, allocations: 176.5 kB / 0.5877 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.8581, allocations: 0.7349 MB / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.8581, allocations: 0 / 0.5884 GB, free: 15.96 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat does not exist to compare? outputFormat=mat