Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.001587/0.001587, 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.402/1.402, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009423/0.0009423, allocations: 95.17 kB / 281.2 MB, free: 5.535 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.2037/0.2037, allocations: 44.15 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2661/0.4699, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.64, allocations: 61.92 MB / 0.4942 GB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/1.043, allocations: 87.59 MB / 0.5797 GB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.043, allocations: 67.06 kB / 0.5798 GB, free: 9.148 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.01812/1.061, allocations: 6.341 MB / 0.586 GB, free: 2.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.061, allocations: 15.92 kB / 0.586 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/1.062, allocations: 11.91 kB / 0.586 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/1.062, allocations: 179 kB / 0.5862 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.062, allocations: 4 kB / 0.5862 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/1.062, allocations: 0 / 0.5862 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.901e-05/1.062, allocations: 19.92 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.062, allocations: 59.31 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.062, allocations: 0 / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.062, allocations: 0 / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.062, allocations: 0 / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/1.063, allocations: 265.4 kB / 0.5865 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/1.063, allocations: 33.64 kB / 0.5865 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/1.063, allocations: 12.86 kB / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/1.063, allocations: 0 / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/1.063, allocations: 38.56 kB / 0.5866 GB, free: 2.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.063, allocations: 0 / 0.5866 GB, free: 2.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000479/1.063, allocations: 97.56 kB / 0.5867 GB, free: 1.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.064, allocations: 88.95 kB / 0.5868 GB, free: 1.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.064, allocations: 119.2 kB / 0.5869 GB, free: 1.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/1.064, allocations: 29.7 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/1.064, allocations: 84.14 kB / 0.587 GB, free: 1.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/1.064, allocations: 23.73 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.064, allocations: 0 / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/1.064, allocations: 314.8 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/1.064, allocations: 15.98 kB / 0.5873 GB, free: 1.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/1.064, allocations: 25.72 kB / 0.5873 GB, free: 1.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/1.064, allocations: 16.2 kB / 0.5874 GB, free: 1.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/1.064, allocations: 4 kB / 0.5874 GB, free: 1.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001224/1.064, allocations: 65.59 kB / 0.5874 GB, free: 1.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.064, allocations: 8 kB / 0.5874 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.064, allocations: 3.938 kB / 0.5874 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.064, allocations: 3.906 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/1.064, allocations: 15.94 kB / 0.5875 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.064, allocations: 0 / 0.5875 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/1.064, allocations: 11.98 kB / 0.5875 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/1.064, allocations: 4 kB / 0.5875 GB, free: 1.074 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 7.981e-05/1.065, allocations: 101 kB / 0.5876 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/1.065, allocations: 7.906 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/1.065, allocations: 77.72 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/1.065, allocations: 0 / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.065, allocations: 0 / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.065, allocations: 144 / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/1.065, allocations: 323 kB / 0.588 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.065, allocations: 3.984 kB / 0.588 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/1.065, allocations: 12 kB / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/1.065, allocations: 4 kB / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/1.065, allocations: 0 / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.065, allocations: 0 / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.065, allocations: 7.891 kB / 0.588 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000156/1.065, allocations: 167.4 kB / 0.5881 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003537/1.066, allocations: 0.5315 MB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/1.066, allocations: 93 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.066, allocations: 0 / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/1.066, allocations: 8 kB / 0.5888 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/1.066, allocations: 7.984 kB / 0.5888 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/1.066, allocations: 0 / 0.5888 GB, free: 15.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.44e-05/1.066, allocations: 103.3 kB / 0.5889 GB, free: 15.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009005/1.067, allocations: 39.84 kB / 0.5889 GB, free: 15.49 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.0008347/1.068, allocations: 345.7 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/1.068, allocations: 31.98 kB / 0.5893 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.068, allocations: 4 kB / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/1.068, allocations: 16 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/1.068, allocations: 15.47 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/1.069, allocations: 107.8 kB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/1.069, allocations: 0.7075 MB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/1.069, allocations: 0 / 0.5901 GB, free: 14.3 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat does not exist to compare? outputFormat=mat