Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.001003/0.001003, allocations: 182.3 kB / 8.52 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.302/1.302, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009198/0.0009199, allocations: 82.36 kB / 281.2 MB, free: 5.523 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.1815/0.1815, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2162/0.3978, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.5195, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.862, allocations: 88.48 MB / 0.5806 GB, free: 8.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.8622, allocations: 81.02 kB / 0.5807 GB, free: 8.199 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.01628/0.8785, allocations: 5.894 MB / 0.5864 GB, free: 2.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8786, allocations: 11.94 kB / 0.5864 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.8786, allocations: 11.81 kB / 0.5864 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.879, allocations: 238.2 kB / 0.5867 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.8791, allocations: 0 / 0.5867 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.8791, allocations: 7.906 kB / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.407e-05/0.8792, allocations: 19.98 kB / 0.5867 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.263e-05/0.8793, allocations: 49.69 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8793, allocations: 0 / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.8793, allocations: 7.984 kB / 0.5868 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8793, allocations: 0 / 0.5868 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.8798, allocations: 285.3 kB / 0.587 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.8799, allocations: 50.64 kB / 0.5871 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.8799, allocations: 24.97 kB / 0.5871 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.8799, allocations: 7.984 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.799e-05/0.88, allocations: 55.41 kB / 0.5872 GB, free: 1.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.88, allocations: 7.938 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004219/0.8805, allocations: 137.1 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.8805, allocations: 55.41 kB / 0.5873 GB, free: 1.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.8808, allocations: 226 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.8808, allocations: 29.7 kB / 0.5876 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.8808, allocations: 92.12 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.8809, allocations: 27.64 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.8809, allocations: 0 / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.881, allocations: 330.8 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.8811, allocations: 12 kB / 0.588 GB, free: 472 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.8811, allocations: 38.39 kB / 0.5881 GB, free: 428 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/0.8812, allocations: 24 kB / 0.5881 GB, free: 404 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.8812, allocations: 0 / 0.5881 GB, free: 404 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.8813, allocations: 93.48 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8814, allocations: 4 kB / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8814, allocations: 4.188 kB / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.8814, allocations: 0 / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.8815, allocations: 27.78 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8815, allocations: 0 / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.8816, allocations: 7.984 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.8816, allocations: 8.031 kB / 0.5882 GB, free: 252 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 (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.107e-05/0.8817, allocations: 104.1 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.8817, allocations: 15.81 kB / 0.5883 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.8819, allocations: 103.2 kB / 0.5884 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8819, allocations: 4 kB / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8819, allocations: 0 / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8819, allocations: 3.906 kB / 0.5885 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.8824, allocations: 403.8 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8824, allocations: 0 / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.8825, allocations: 8 kB / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8825, allocations: 3.906 kB / 0.5888 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.8825, allocations: 7.984 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8825, allocations: 3.938 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8825, allocations: 0 / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001929/0.8827, allocations: 210.1 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003041/0.883, allocations: 0.5842 MB / 0.5896 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.8831, allocations: 92.92 kB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.8831, allocations: 8 kB / 0.5897 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.8832, allocations: 7.984 kB / 0.5897 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.8833, allocations: 4 kB / 0.5897 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.8833, allocations: 7.984 kB / 0.5897 GB, free: 14.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001638/0.8834, allocations: 188.5 kB / 0.5899 GB, free: 14.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008291/0.8843, allocations: 39.84 kB / 0.59 GB, free: 14.34 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.0009011/0.8852, allocations: 350.1 kB / 0.5903 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.8854, allocations: 55.98 kB / 0.5904 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8854, allocations: 0 / 0.5904 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.47e-05/0.8854, allocations: 27.94 kB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.8857, allocations: 27.47 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.8862, allocations: 216.9 kB / 0.5906 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.8866, allocations: 0.7422 MB / 0.5913 GB, free: 12.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.8866, allocations: 3.938 kB / 0.5913 GB, free: 12.96 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)