Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.001048/0.001048, allocations: 174.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.358/1.358, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009401/0.0009401, allocations: 95.17 kB / 281.2 MB, free: 5.461 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.1891/0.1891, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.208/0.3972, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.5058, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3208/0.8267, allocations: 87.58 MB / 0.5797 GB, free: 9.137 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.827, allocations: 71.02 kB / 0.5798 GB, free: 9.078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01797/0.845, allocations: 6.338 MB / 0.586 GB, free: 2.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8451, allocations: 11.94 kB / 0.586 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.8451, allocations: 11.91 kB / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.8454, allocations: 188.7 kB / 0.5862 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.8454, allocations: 0 / 0.5862 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.8454, allocations: 4 kB / 0.5862 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.62e-05/0.8455, allocations: 19.88 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.8457, allocations: 59.31 kB / 0.5862 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8457, allocations: 0 / 0.5862 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8457, allocations: 0 / 0.5862 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8457, allocations: 4 kB / 0.5863 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.8461, allocations: 269.3 kB / 0.5865 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.8463, allocations: 33.66 kB / 0.5865 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.8463, allocations: 12.94 kB / 0.5866 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.8464, allocations: 4 kB / 0.5866 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.8464, allocations: 34.56 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.8464, allocations: 0 / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004062/0.8468, allocations: 101.5 kB / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.8469, allocations: 81.02 kB / 0.5868 GB, free: 1.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.847, allocations: 117 kB / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.847, allocations: 33.64 kB / 0.5869 GB, free: 1.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.847, allocations: 88.14 kB / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.8471, allocations: 11.75 kB / 0.587 GB, free: 1.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.8471, allocations: 3.938 kB / 0.587 GB, free: 1.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.8472, allocations: 322.8 kB / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.8472, allocations: 12 kB / 0.5873 GB, free: 1.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.8472, allocations: 25.7 kB / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.8473, allocations: 20.03 kB / 0.5874 GB, free: 1.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.8473, allocations: 0 / 0.5874 GB, free: 1.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.8474, allocations: 61.59 kB / 0.5874 GB, free: 1.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.8474, allocations: 4 kB / 0.5874 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8474, allocations: 4 kB / 0.5874 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.8474, allocations: 3.906 kB / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.8475, allocations: 15.98 kB / 0.5875 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8475, allocations: 3.938 kB / 0.5875 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.8476, allocations: 11.98 kB / 0.5875 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.8476, allocations: 4 kB / 0.5875 GB, free: 1 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 (5): * Single equations (assignments): 5 * 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.656e-05/0.8477, allocations: 101 kB / 0.5876 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.8477, allocations: 7.906 kB / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.8479, allocations: 73.73 kB / 0.5876 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.8479, allocations: 0 / 0.5876 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8479, allocations: 0 / 0.5876 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8479, allocations: 0 / 0.5876 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.8482, allocations: 315.4 kB / 0.5879 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8482, allocations: 4 kB / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.8483, allocations: 16.12 kB / 0.588 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8483, allocations: 0 / 0.588 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8483, allocations: 3.984 kB / 0.588 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8483, allocations: 7.938 kB / 0.588 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8483, allocations: 3.906 kB / 0.588 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001556/0.8485, allocations: 163.5 kB / 0.5881 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002275/0.8487, allocations: 0.5351 MB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.8487, allocations: 81.02 kB / 0.5887 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.8488, allocations: 7.984 kB / 0.5887 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.8489, allocations: 8 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.8489, allocations: 8 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.8489, allocations: 0 / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.922e-05/0.849, allocations: 100.6 kB / 0.5889 GB, free: 15.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008676/0.8499, allocations: 43.83 kB / 0.5889 GB, free: 15.43 MB / 410.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 (5): * Single equations (assignments): 5 * 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.0007048/0.8506, allocations: 339.7 kB / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.8507, allocations: 35.94 kB / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8507, allocations: 0 / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.8508, allocations: 16 kB / 0.5893 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.851, allocations: 19.92 kB / 0.5893 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.8513, allocations: 103.8 kB / 0.5894 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.8516, allocations: 0.7114 MB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.8516, allocations: 0 / 0.5901 GB, free: 14.23 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat does not exist to compare? outputFormat=mat