Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.001738/0.001738, allocations: 184.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.398/1.398, 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.0009754/0.0009754, allocations: 80.78 kB / 281.2 MB, free: 5.469 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.2162/0.2162, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2635/0.4798, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.634, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/1.033, allocations: 88.49 MB / 0.5806 GB, free: 8.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.034, allocations: 76.61 kB / 0.5807 GB, free: 8.172 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.0165/1.05, allocations: 5.617 MB / 0.5862 GB, free: 2.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.05, allocations: 12.69 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/1.05, allocations: 7.906 kB / 0.5862 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/1.051, allocations: 219.4 kB / 0.5864 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/1.051, allocations: 0 / 0.5864 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/1.051, allocations: 4 kB / 0.5864 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/1.051, allocations: 19.98 kB / 0.5864 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/1.051, allocations: 49.59 kB / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.051, allocations: 4 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.051, allocations: 7.922 kB / 0.5865 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.051, allocations: 4 kB / 0.5865 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/1.052, allocations: 269.4 kB / 0.5867 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/1.052, allocations: 50.69 kB / 0.5868 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/1.052, allocations: 24.92 kB / 0.5868 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/1.052, allocations: 3.984 kB / 0.5868 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/1.052, allocations: 59.41 kB / 0.5869 GB, free: 1.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/1.052, allocations: 0 / 0.5869 GB, free: 1.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005793/1.053, allocations: 137.2 kB / 0.587 GB, free: 1.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/1.053, allocations: 55.39 kB / 0.587 GB, free: 1.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/1.053, allocations: 175.6 kB / 0.5872 GB, free: 1.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/1.053, allocations: 29.7 kB / 0.5872 GB, free: 1.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/1.053, allocations: 96.03 kB / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/1.053, allocations: 23.66 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/1.053, allocations: 0 / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/1.054, allocations: 322.8 kB / 0.5877 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/1.054, allocations: 23.98 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/1.054, allocations: 29.72 kB / 0.5877 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/1.054, allocations: 35.98 kB / 0.5877 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.054, allocations: 0 / 0.5877 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001706/1.054, allocations: 89.5 kB / 0.5878 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.054, allocations: 4 kB / 0.5878 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.054, allocations: 0 / 0.5878 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.054, allocations: 0 / 0.5878 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.054, allocations: 19.92 kB / 0.5878 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.054, allocations: 4 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/1.054, allocations: 0 / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/1.054, allocations: 4 kB / 0.5879 GB, free: 0.6094 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 9.244e-05/1.054, allocations: 113 kB / 0.588 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/1.054, allocations: 11.81 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/1.055, allocations: 103 kB / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.055, allocations: 288 / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.055, allocations: 0 / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.055, allocations: 4 kB / 0.5881 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/1.055, allocations: 379.7 kB / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.055, allocations: 0 / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/1.055, allocations: 12 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.055, allocations: 0 / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.055, allocations: 3.984 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.055, allocations: 7.906 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.055, allocations: 3.938 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002361/1.055, allocations: 206.1 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00043/1.056, allocations: 0.5803 MB / 0.5892 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/1.056, allocations: 92.92 kB / 0.5893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/1.056, allocations: 4 kB / 0.5893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/1.056, allocations: 7.984 kB / 0.5893 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/1.056, allocations: 4 kB / 0.5893 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/1.056, allocations: 4 kB / 0.5893 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001384/1.056, allocations: 148 kB / 0.5895 GB, free: 14.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009103/1.057, allocations: 39.92 kB / 0.5895 GB, free: 14.78 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.000855/1.058, allocations: 360.2 kB / 0.5899 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/1.058, allocations: 48 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.058, allocations: 0 / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/1.058, allocations: 35.92 kB / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/1.059, allocations: 23.89 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/1.059, allocations: 164.7 kB / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/1.059, allocations: 0.7309 MB / 0.5908 GB, free: 13.45 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/1.059, allocations: 0 / 0.5908 GB, free: 13.45 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)