Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.001223/0.001223, 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.325/1.325, allocations: 221.4 MB / 230.3 MB, free: 7.758 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.000866/0.0008661, allocations: 84.73 kB / 281.2 MB, free: 5.516 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.2281/0.2281, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3014/0.5295, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.6692, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/1.066, allocations: 88.53 MB / 0.5806 GB, free: 8.215 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.066, allocations: 76.62 kB / 0.5807 GB, free: 8.141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01681/1.083, allocations: 5.921 MB / 0.5865 GB, free: 2.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.083, allocations: 11.94 kB / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/1.083, allocations: 15.81 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/1.083, allocations: 228 kB / 0.5867 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/1.083, allocations: 4 kB / 0.5867 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/1.083, allocations: 3.938 kB / 0.5868 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.824e-05/1.084, allocations: 23.98 kB / 0.5868 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/1.084, allocations: 53.67 kB / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.084, allocations: 0 / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/1.084, allocations: 0 / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.084, allocations: 4 kB / 0.5868 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/1.084, allocations: 293.3 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/1.084, allocations: 49.69 kB / 0.5872 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/1.084, allocations: 16.98 kB / 0.5872 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/1.085, allocations: 0 / 0.5872 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/1.085, allocations: 67.3 kB / 0.5872 GB, free: 1.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.085, allocations: 0 / 0.5872 GB, free: 1.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005962/1.085, allocations: 181 kB / 0.5874 GB, free: 1.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.085, allocations: 55.41 kB / 0.5875 GB, free: 1.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/1.086, allocations: 185.3 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/1.086, allocations: 29.7 kB / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/1.086, allocations: 96.12 kB / 0.5878 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/1.086, allocations: 27.56 kB / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.086, allocations: 0 / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/1.086, allocations: 330.7 kB / 0.5881 GB, free: 416 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/1.086, allocations: 32 kB / 0.5881 GB, free: 384 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/1.086, allocations: 37.91 kB / 0.5882 GB, free: 340 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/1.086, allocations: 31.86 kB / 0.5882 GB, free: 308 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/1.086, allocations: 4 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001939/1.086, allocations: 113.5 kB / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.086, allocations: 4 kB / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.086, allocations: 0 / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.086, allocations: 0 / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/1.086, allocations: 35.95 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.087, allocations: 480 / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/1.087, allocations: 4 kB / 0.5884 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/1.087, allocations: 0 / 0.5884 GB, free: 140 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 9.923e-05/1.087, allocations: 107.9 kB / 0.5885 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/1.087, allocations: 15.81 kB / 0.5885 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/1.087, allocations: 142.8 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.087, allocations: 3.906 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.087, allocations: 4 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.087, allocations: 0 / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/1.088, allocations: 420.7 kB / 0.589 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.088, allocations: 0 / 0.589 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/1.088, allocations: 23.94 kB / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.088, allocations: 0 / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/1.088, allocations: 8.047 kB / 0.589 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.088, allocations: 4 kB / 0.589 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.088, allocations: 0 / 0.589 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002648/1.088, allocations: 244.3 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004446/1.089, allocations: 0.6122 MB / 0.5899 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/1.089, allocations: 96.92 kB / 0.59 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/1.089, allocations: 4 kB / 0.59 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/1.089, allocations: 7.984 kB / 0.59 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/1.089, allocations: 11.91 kB / 0.59 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/1.089, allocations: 11.98 kB / 0.59 GB, free: 14.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001504/1.089, allocations: 152.2 kB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008927/1.09, allocations: 43.88 kB / 0.5902 GB, free: 14.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001035/1.091, allocations: 390 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/1.091, allocations: 71.94 kB / 0.5906 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.091, allocations: 0 / 0.5906 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/1.091, allocations: 43.98 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/1.092, allocations: 20.59 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/1.092, allocations: 192.7 kB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/1.093, allocations: 0.7426 MB / 0.5916 GB, free: 12.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/1.093, allocations: 4 kB / 0.5916 GB, free: 12.68 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat