Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001327/0.001327, 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.244/1.244, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.0009915/0.0009914, allocations: 91.11 kB / 281.2 MB, free: 5.512 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.1878/0.1878, allocations: 44.14 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2387/0.4265, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.5419, allocations: 61.92 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/0.8872, allocations: 88.75 MB / 0.5809 GB, free: 7.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.8874, allocations: 71.97 kB / 0.5809 GB, free: 7.883 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.02169/0.9091, allocations: 8.029 MB / 0.5888 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9091, allocations: 11.94 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.9092, allocations: 7.906 kB / 0.5888 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.9095, allocations: 206.9 kB / 0.589 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.9095, allocations: 7.984 kB / 0.589 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.9096, allocations: 0 / 0.589 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.556e-05/0.9097, allocations: 23.94 kB / 0.589 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.9098, allocations: 67.3 kB / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9098, allocations: 0 / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.9098, allocations: 8 kB / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.9098, allocations: 0 / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.9101, allocations: 257.4 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.9102, allocations: 50.62 kB / 0.5894 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.9103, allocations: 28.97 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.9103, allocations: 0 / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.173e-05/0.9104, allocations: 55.41 kB / 0.5895 GB, free: 15.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.9104, allocations: 3.938 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004584/0.9109, allocations: 129.3 kB / 0.5896 GB, free: 14.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.9109, allocations: 81.11 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.9111, allocations: 143.4 kB / 0.5898 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.9111, allocations: 29.7 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.9111, allocations: 92.12 kB / 0.5899 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.9112, allocations: 31.62 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.9112, allocations: 0 / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.9113, allocations: 314.8 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.9114, allocations: 19.98 kB / 0.5903 GB, free: 14.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.9114, allocations: 42.52 kB / 0.5903 GB, free: 14.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.9115, allocations: 24.02 kB / 0.5903 GB, free: 14.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.9115, allocations: 0 / 0.5903 GB, free: 14.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.9116, allocations: 97.59 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9117, allocations: 4 kB / 0.5904 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9117, allocations: 0 / 0.5904 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.9117, allocations: 0 / 0.5904 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.9118, allocations: 23.89 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9118, allocations: 0 / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.9119, allocations: 4.188 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.9119, allocations: 8.031 kB / 0.5905 GB, free: 13.92 MB / 410.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 (10): * Single equations (assignments): 10 * 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.937e-05/0.912, allocations: 108.9 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.912, allocations: 7.906 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.9122, allocations: 106 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9122, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9122, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.9123, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.9127, allocations: 363.9 kB / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9127, allocations: 3.984 kB / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.9127, allocations: 11.94 kB / 0.591 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.9127, allocations: 0 / 0.591 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.9128, allocations: 4 kB / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9128, allocations: 0 / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.9128, allocations: 0 / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001932/0.913, allocations: 209.9 kB / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003004/0.9133, allocations: 0.5768 MB / 0.5918 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.9133, allocations: 96.88 kB / 0.5919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.9134, allocations: 4 kB / 0.5919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.9135, allocations: 4 kB / 0.5919 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.9135, allocations: 11.98 kB / 0.5919 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.9135, allocations: 0 / 0.5919 GB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.406e-05/0.9136, allocations: 117.7 kB / 0.592 GB, free: 12.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008851/0.9145, allocations: 51.83 kB / 0.5921 GB, free: 12.13 MB / 410.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: 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 (9): * Single equations (assignments): 7 * 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.0008312/0.9153, allocations: 380.8 kB / 0.5924 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.9155, allocations: 59.92 kB / 0.5925 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9155, allocations: 4 kB / 0.5925 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.397e-05/0.9156, allocations: 27.94 kB / 0.5925 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.9158, allocations: 24.53 kB / 0.5926 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.9162, allocations: 128.7 kB / 0.5927 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.9165, allocations: 0.7193 MB / 0.5934 GB, free: 10.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.9165, allocations: 0 / 0.5934 GB, free: 10.82 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat