Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.001309/0.001309, allocations: 186.9 kB / 8.519 MB, free: 480 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.4 MB / 230.3 MB, free: 13.49 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 99.11 kB / 281.2 MB, free: 10.51 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.13 MB / 376.1 MB, free: 11.66 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2646/0.4979, allocations: 68.03 MB / 444.1 MB, free: 54.31 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.6327, allocations: 61.9 MB / 0.4942 GB, free: 8.336 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/1.025, allocations: 87.46 MB / 0.5796 GB, free: 11.25 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/1.025, allocations: 71.72 kB / 0.5796 GB, free: 11.18 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01243/1.038, allocations: 4.42 MB / 0.584 GB, free: 6.727 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/1.038, allocations: 11.94 kB / 0.584 GB, free: 6.715 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/1.038, allocations: 7.906 kB / 0.584 GB, free: 6.707 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/1.038, allocations: 201.5 kB / 0.5842 GB, free: 6.473 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/1.038, allocations: 4 kB / 0.5842 GB, free: 6.469 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/1.038, allocations: 11.91 kB / 0.5842 GB, free: 6.457 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001636/1.038, allocations: 35.98 kB / 0.5842 GB, free: 6.422 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/1.039, allocations: 53.67 kB / 0.5843 GB, free: 6.363 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/1.039, allocations: 7.938 kB / 0.5843 GB, free: 6.355 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.039, allocations: 0 / 0.5843 GB, free: 6.355 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/1.039, allocations: 4 kB / 0.5843 GB, free: 6.352 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/1.039, allocations: 309.2 kB / 0.5846 GB, free: 6.012 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/1.04, allocations: 49.7 kB / 0.5846 GB, free: 5.957 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/1.04, allocations: 16.86 kB / 0.5846 GB, free: 5.938 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/1.04, allocations: 0 / 0.5846 GB, free: 5.938 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/1.04, allocations: 34.56 kB / 0.5847 GB, free: 5.895 MB / 402.8 MB Notification: Performance of pre-optimization done (n=7): time 2.003e-06/1.04, allocations: 0 / 0.5847 GB, free: 5.895 MB / 402.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008252/1.041, allocations: 221.2 kB / 0.5849 GB, free: 5.672 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/1.041, allocations: 59.39 kB / 0.5849 GB, free: 5.602 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/1.041, allocations: 133.2 kB / 0.5851 GB, free: 5.461 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/1.041, allocations: 25.7 kB / 0.5851 GB, free: 5.43 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/1.041, allocations: 99.97 kB / 0.5852 GB, free: 5.328 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/1.041, allocations: 43.39 kB / 0.5852 GB, free: 5.285 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/1.041, allocations: 0 / 0.5852 GB, free: 5.285 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001105/1.041, allocations: 326.7 kB / 0.5855 GB, free: 4.957 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/1.041, allocations: 36.12 kB / 0.5856 GB, free: 4.922 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/1.041, allocations: 31.98 kB / 0.5856 GB, free: 4.891 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/1.041, allocations: 42.61 kB / 0.5857 GB, free: 4.852 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/1.041, allocations: 3.938 kB / 0.5857 GB, free: 4.848 MB / 402.8 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001925/1.042, allocations: 121.6 kB / 0.5858 GB, free: 4.723 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.042, allocations: 4 kB / 0.5858 GB, free: 4.719 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.042, allocations: 0 / 0.5858 GB, free: 4.719 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.042, allocations: 4 kB / 0.5858 GB, free: 4.715 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/1.042, allocations: 31.98 kB / 0.5858 GB, free: 4.684 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.042, allocations: 480 / 0.5858 GB, free: 4.684 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/1.042, allocations: 11.98 kB / 0.5858 GB, free: 4.672 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/1.042, allocations: 7.906 kB / 0.5858 GB, free: 4.664 MB / 402.8 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 (13): * Single equations (assignments): 13 * 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 8.707e-05/1.042, allocations: 109.9 kB / 0.5859 GB, free: 4.551 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/1.042, allocations: 11.89 kB / 0.5859 GB, free: 4.539 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/1.042, allocations: 162.1 kB / 0.5861 GB, free: 4.371 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.042, allocations: 4 kB / 0.5861 GB, free: 4.367 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.042, allocations: 7.984 kB / 0.5861 GB, free: 4.359 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.042, allocations: 0 / 0.5861 GB, free: 4.359 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/1.043, allocations: 443.7 kB / 0.5865 GB, free: 3.879 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.043, allocations: 0 / 0.5865 GB, free: 3.879 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/1.043, allocations: 31.92 kB / 0.5866 GB, free: 3.848 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.043, allocations: 0 / 0.5866 GB, free: 3.848 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.043, allocations: 3.906 kB / 0.5866 GB, free: 3.844 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.043, allocations: 4 kB / 0.5866 GB, free: 3.84 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.043, allocations: 0 / 0.5866 GB, free: 3.84 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002784/1.043, allocations: 244 kB / 0.5868 GB, free: 3.578 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003259/1.044, allocations: 0.6116 MB / 0.5874 GB, free: 2.938 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/1.044, allocations: 93 kB / 0.5875 GB, free: 2.828 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/1.044, allocations: 0 / 0.5875 GB, free: 2.828 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/1.044, allocations: 4 kB / 0.5875 GB, free: 2.824 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/1.044, allocations: 11.98 kB / 0.5875 GB, free: 2.812 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/1.044, allocations: 0 / 0.5875 GB, free: 2.812 MB / 402.8 MB Notification: Performance of sort global known variables: time 8.057e-05/1.044, allocations: 118.2 kB / 0.5876 GB, free: 2.699 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0009115/1.045, allocations: 39.83 kB / 0.5877 GB, free: 2.66 MB / 402.8 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 (13): * Single equations (assignments): 13 * 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.0007694/1.046, allocations: 335.1 kB / 0.588 GB, free: 2.41 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001901/1.046, allocations: 91.92 kB / 0.5881 GB, free: 2.32 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.046, allocations: 4 kB / 0.5881 GB, free: 2.316 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/1.046, allocations: 51.92 kB / 0.5881 GB, free: 2.266 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/1.046, allocations: 15.92 kB / 0.5881 GB, free: 2.25 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/1.047, allocations: 179.9 kB / 0.5883 GB, free: 2.047 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/1.047, allocations: 0.7347 MB / 0.589 GB, free: 1.285 MB / 402.8 MB Notification: Performance of SimCode: time 3e-07/1.047, allocations: 4.062 kB / 0.589 GB, free: 1.281 MB / 402.8 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat does not exist to compare? outputFormat=mat