Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.00155/0.00155, allocations: 177.1 kB / 8.516 MB, free: 1.848 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.282/1.282, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0009552/0.0009553, allocations: 82.12 kB / 281.2 MB, free: 5.48 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.1958/0.1958, allocations: 44.14 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2326/0.4284, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.5554, allocations: 61.9 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.9144, allocations: 88.47 MB / 0.5806 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.9147, allocations: 81.47 kB / 0.5807 GB, free: 8.242 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.01703/0.9317, allocations: 5.75 MB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.9318, allocations: 11.94 kB / 0.5863 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.9319, allocations: 15.81 kB / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.9322, allocations: 222.7 kB / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.9323, allocations: 0 / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.9323, allocations: 0 / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.97e-05/0.9324, allocations: 23.98 kB / 0.5865 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.598e-05/0.9325, allocations: 49.67 kB / 0.5866 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9325, allocations: 0 / 0.5866 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.9325, allocations: 0 / 0.5866 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.9326, allocations: 11.98 kB / 0.5866 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.9329, allocations: 269.4 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.933, allocations: 54.62 kB / 0.5869 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.9331, allocations: 20.92 kB / 0.5869 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.9331, allocations: 0 / 0.5869 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.996e-05/0.9332, allocations: 71.39 kB / 0.587 GB, free: 1.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.9332, allocations: 0 / 0.587 GB, free: 1.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004365/0.9337, allocations: 141.1 kB / 0.5871 GB, free: 1.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.9337, allocations: 51.41 kB / 0.5872 GB, free: 1.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.9339, allocations: 197.9 kB / 0.5874 GB, free: 1.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.9339, allocations: 25.7 kB / 0.5874 GB, free: 1.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.934, allocations: 104 kB / 0.5875 GB, free: 1.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.934, allocations: 19.81 kB / 0.5875 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.934, allocations: 0 / 0.5875 GB, free: 1.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.9342, allocations: 326.7 kB / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.9342, allocations: 19.98 kB / 0.5878 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.9343, allocations: 30.47 kB / 0.5879 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.9343, allocations: 31.98 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.9343, allocations: 0 / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001618/0.9345, allocations: 93.5 kB / 0.588 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.9345, allocations: 4 kB / 0.588 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9345, allocations: 0 / 0.588 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9345, allocations: 4 kB / 0.588 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.9346, allocations: 16.17 kB / 0.588 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9347, allocations: 3.938 kB / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.9347, allocations: 7.938 kB / 0.588 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.9347, allocations: 0 / 0.588 GB, free: 0.5117 MB / 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 8.118e-05/0.9348, allocations: 112.1 kB / 0.5881 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.9349, allocations: 19.84 kB / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.9351, allocations: 103 kB / 0.5882 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9351, allocations: 0 / 0.5882 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9351, allocations: 3.906 kB / 0.5882 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9351, allocations: 0 / 0.5882 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.9356, allocations: 379.9 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9356, allocations: 7.891 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.9357, allocations: 8 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.9357, allocations: 8.031 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.9357, allocations: 0 / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.9357, allocations: 0 / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9357, allocations: 7.938 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000214/0.9359, allocations: 202 kB / 0.5888 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003995/0.9363, allocations: 0.5881 MB / 0.5894 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.9364, allocations: 93 kB / 0.5895 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.9365, allocations: 0 / 0.5895 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.9366, allocations: 4 kB / 0.5895 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.9366, allocations: 19.89 kB / 0.5895 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.9366, allocations: 192 / 0.5895 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001602/0.9368, allocations: 159.2 kB / 0.5897 GB, free: 14.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00092/0.9377, allocations: 43.92 kB / 0.5897 GB, free: 14.65 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.0007957/0.9385, allocations: 351.9 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.9387, allocations: 55.92 kB / 0.5901 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9387, allocations: 0 / 0.5901 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.9387, allocations: 31.92 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.939, allocations: 24.78 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.9395, allocations: 180.9 kB / 0.5903 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.9399, allocations: 0.7388 MB / 0.591 GB, free: 13.3 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.9399, allocations: 3.938 kB / 0.5911 GB, free: 13.3 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)