Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001025/0.001025, allocations: 179.1 kB / 8.52 MB, free: 1.828 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.253/1.253, 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.001126/0.001126, allocations: 81.61 kB / 281.2 MB, free: 5.52 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.1898/0.1898, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2299/0.4198, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.5535, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3318/0.8854, allocations: 88.3 MB / 0.5804 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.8857, allocations: 71.95 kB / 0.5805 GB, free: 8.352 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01582/0.9015, allocations: 5.423 MB / 0.5858 GB, free: 2.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.9016, allocations: 11.94 kB / 0.5858 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.9016, allocations: 7.906 kB / 0.5858 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.902, allocations: 214.8 kB / 0.586 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.902, allocations: 0 / 0.586 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.902, allocations: 4 kB / 0.586 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.466e-05/0.9021, allocations: 23.92 kB / 0.586 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.084e-05/0.9022, allocations: 41.69 kB / 0.5861 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.9022, allocations: 0 / 0.5861 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.9022, allocations: 3.938 kB / 0.5861 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.9023, allocations: 0 / 0.5861 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.9025, allocations: 166.2 kB / 0.5862 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.9026, allocations: 42.62 kB / 0.5863 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.9026, allocations: 20.86 kB / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.9027, allocations: 0 / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.183e-05/0.9027, allocations: 67.42 kB / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.9028, allocations: 0 / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001843/0.9029, allocations: 69.5 kB / 0.5864 GB, free: 2.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.903, allocations: 55.34 kB / 0.5865 GB, free: 2.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.9031, allocations: 161.4 kB / 0.5866 GB, free: 1.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.9032, allocations: 33.7 kB / 0.5867 GB, free: 1.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.9032, allocations: 88.12 kB / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.9032, allocations: 11.84 kB / 0.5868 GB, free: 1.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.9033, allocations: 0 / 0.5868 GB, free: 1.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.9034, allocations: 326.7 kB / 0.5871 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.9035, allocations: 12 kB / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.9035, allocations: 29.7 kB / 0.5871 GB, free: 1.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.9036, allocations: 16 kB / 0.5871 GB, free: 1.359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9036, allocations: 3.938 kB / 0.5871 GB, free: 1.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001117/0.9037, allocations: 73.66 kB / 0.5872 GB, free: 1.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.9037, allocations: 4 kB / 0.5872 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9037, allocations: 3.984 kB / 0.5872 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.9037, allocations: 0 / 0.5872 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.9038, allocations: 16 kB / 0.5872 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9038, allocations: 4.141 kB / 0.5872 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.9039, allocations: 7.906 kB / 0.5872 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.9039, allocations: 4.031 kB / 0.5872 GB, free: 1.238 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 (7): * Single equations (assignments): 7 * 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.26e-05/0.904, allocations: 112.9 kB / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.904, allocations: 15.8 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.9042, allocations: 77.86 kB / 0.5874 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.9042, allocations: 0 / 0.5874 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9042, allocations: 0 / 0.5874 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9042, allocations: 0 / 0.5874 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.9044, allocations: 170.2 kB / 0.5876 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9044, allocations: 0 / 0.5876 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.9044, allocations: 8 kB / 0.5876 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9044, allocations: 3.906 kB / 0.5876 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.9044, allocations: 0 / 0.5876 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.9045, allocations: 7.938 kB / 0.5876 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9045, allocations: 0 / 0.5876 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001367/0.9046, allocations: 100.9 kB / 0.5877 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000241/0.9049, allocations: 481.6 kB / 0.5882 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.9049, allocations: 92.91 kB / 0.5883 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.905, allocations: 8.062 kB / 0.5883 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.905, allocations: 3.938 kB / 0.5883 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.9051, allocations: 11.98 kB / 0.5883 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.9051, allocations: 0 / 0.5883 GB, free: 60 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001352/0.9052, allocations: 137 kB / 0.5884 GB, free: 15.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008333/0.9061, allocations: 31.88 kB / 0.5884 GB, free: 15.89 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: 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 (6): * Single equations (assignments): 4 * 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.0007769/0.9068, allocations: 306.7 kB / 0.5887 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.907, allocations: 35.98 kB / 0.5888 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.907, allocations: 3.938 kB / 0.5888 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.9071, allocations: 23.94 kB / 0.5888 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.9073, allocations: 24.5 kB / 0.5888 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.9077, allocations: 139.5 kB / 0.5889 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.908, allocations: 0.7153 MB / 0.5896 GB, free: 14.68 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.9081, allocations: 4 kB / 0.5896 GB, free: 14.67 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)