Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",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.001505/0.001504, allocations: 174.8 kB / 8.515 MB, free: 1.848 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.362/1.362, allocations: 221.4 MB / 230.3 MB, free: 7.605 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.001019/0.001019, allocations: 99.41 kB / 281.2 MB, free: 5.418 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.1908/0.1908, allocations: 44.15 MB / 376.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3012/0.4921, allocations: 68.03 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.6349, allocations: 61.91 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/1.031, allocations: 87.35 MB / 0.5795 GB, free: 9.344 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.031, allocations: 79.58 kB / 0.5796 GB, free: 9.27 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.01147/1.043, allocations: 4.296 MB / 0.5837 GB, free: 4.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.043, allocations: 11.94 kB / 0.5838 GB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/1.043, allocations: 7.906 kB / 0.5838 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/1.043, allocations: 206.7 kB / 0.584 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.043, allocations: 4 kB / 0.584 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/1.043, allocations: 0 / 0.584 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.209e-05/1.043, allocations: 16 kB / 0.584 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.765e-05/1.043, allocations: 41.69 kB / 0.584 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.043, allocations: 11.94 kB / 0.584 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.043, allocations: 0 / 0.584 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.043, allocations: 7.969 kB / 0.584 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/1.044, allocations: 285.3 kB / 0.5843 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/1.044, allocations: 33.72 kB / 0.5843 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/1.044, allocations: 16.88 kB / 0.5844 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.044, allocations: 4 kB / 0.5844 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.044, allocations: 34.56 kB / 0.5844 GB, free: 4.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/1.044, allocations: 0 / 0.5844 GB, free: 4.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005739/1.045, allocations: 161.2 kB / 0.5846 GB, free: 4.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/1.045, allocations: 51.41 kB / 0.5846 GB, free: 3.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/1.045, allocations: 177.4 kB / 0.5848 GB, free: 3.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.045, allocations: 25.7 kB / 0.5848 GB, free: 3.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/1.045, allocations: 96.03 kB / 0.5849 GB, free: 3.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/1.045, allocations: 23.66 kB / 0.5849 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/1.045, allocations: 0 / 0.5849 GB, free: 3.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/1.045, allocations: 326.7 kB / 0.5852 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/1.045, allocations: 27.98 kB / 0.5852 GB, free: 3.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/1.045, allocations: 12 kB / 0.5853 GB, free: 3.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/1.045, allocations: 31.92 kB / 0.5853 GB, free: 3.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/1.045, allocations: 0.75 kB / 0.5853 GB, free: 3.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001398/1.045, allocations: 89.58 kB / 0.5854 GB, free: 3.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.045, allocations: 5.094 kB / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.045, allocations: 0 / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.045, allocations: 0 / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/1.045, allocations: 23.98 kB / 0.5854 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/1.045, allocations: 0 / 0.5854 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/1.046, allocations: 11.91 kB / 0.5854 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/1.046, allocations: 3.938 kB / 0.5854 GB, free: 3.078 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 7.34e-05/1.046, allocations: 101 kB / 0.5855 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/1.046, allocations: 19.75 kB / 0.5855 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/1.046, allocations: 110.4 kB / 0.5856 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.046, allocations: 4 kB / 0.5856 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.046, allocations: 4 kB / 0.5856 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.046, allocations: 0 / 0.5856 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/1.046, allocations: 379.8 kB / 0.586 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.046, allocations: 0 / 0.586 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/1.046, allocations: 20.02 kB / 0.586 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.047, allocations: 11.94 kB / 0.586 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/1.047, allocations: 0 / 0.586 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.047, allocations: 0 / 0.586 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.047, allocations: 0 / 0.586 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001875/1.047, allocations: 209.8 kB / 0.5862 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002808/1.047, allocations: 0.5726 MB / 0.5868 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/1.047, allocations: 96.91 kB / 0.5869 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/1.047, allocations: 0 / 0.5869 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/1.047, allocations: 8 kB / 0.5869 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/1.047, allocations: 7.984 kB / 0.5869 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/1.047, allocations: 4 kB / 0.5869 GB, free: 1.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001179/1.047, allocations: 148.1 kB / 0.5871 GB, free: 1.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009105/1.048, allocations: 35.84 kB / 0.5871 GB, free: 1.234 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.0007463/1.049, allocations: 347.4 kB / 0.5874 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/1.049, allocations: 51.98 kB / 0.5875 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.049, allocations: 0 / 0.5875 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.227e-05/1.049, allocations: 35.92 kB / 0.5875 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/1.05, allocations: 10.95 kB / 0.5875 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/1.05, allocations: 192.5 kB / 0.5877 GB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/1.05, allocations: 0.7347 MB / 0.5884 GB, free: 15.91 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/1.05, allocations: 0 / 0.5884 GB, free: 15.91 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat does not exist to compare? outputFormat=mat