Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.001735/0.001735, allocations: 181.9 kB / 8.52 MB, free: 1.82 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.44/1.44, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.001083/0.001083, allocations: 89.83 kB / 281.2 MB, free: 5.449 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.2233/0.2233, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.307/0.5303, allocations: 68.04 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.6824, allocations: 61.91 MB / 0.4942 GB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/1.081, allocations: 88.49 MB / 0.5806 GB, free: 8.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.082, allocations: 75.62 kB / 0.5807 GB, free: 8.117 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.01603/1.098, allocations: 5.535 MB / 0.5861 GB, free: 2.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.098, allocations: 15.94 kB / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/1.098, allocations: 7.906 kB / 0.5861 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/1.098, allocations: 207.6 kB / 0.5863 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.098, allocations: 4 kB / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/1.098, allocations: 0 / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.868e-05/1.098, allocations: 23.92 kB / 0.5863 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/1.098, allocations: 57.67 kB / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.098, allocations: 0 / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.098, allocations: 0 / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.098, allocations: 3.938 kB / 0.5864 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/1.099, allocations: 261.4 kB / 0.5866 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/1.099, allocations: 54.62 kB / 0.5867 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/1.099, allocations: 20.98 kB / 0.5867 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/1.099, allocations: 4 kB / 0.5867 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.794e-05/1.099, allocations: 59.41 kB / 0.5868 GB, free: 1.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/1.099, allocations: 0 / 0.5868 GB, free: 1.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004532/1.1, allocations: 137.2 kB / 0.5869 GB, free: 1.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/1.1, allocations: 51.41 kB / 0.5869 GB, free: 1.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/1.1, allocations: 155.4 kB / 0.5871 GB, free: 1.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/1.1, allocations: 29.7 kB / 0.5871 GB, free: 1.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/1.1, allocations: 96.03 kB / 0.5872 GB, free: 1.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/1.1, allocations: 27.64 kB / 0.5872 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/1.1, allocations: 0 / 0.5872 GB, free: 1.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/1.1, allocations: 322.8 kB / 0.5875 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/1.1, allocations: 12 kB / 0.5876 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/1.1, allocations: 33.72 kB / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/1.1, allocations: 23.98 kB / 0.5876 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/1.1, allocations: 0 / 0.5876 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001543/1.1, allocations: 93.53 kB / 0.5877 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.1, allocations: 4 kB / 0.5877 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.1, allocations: 0 / 0.5877 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.1, allocations: 3.906 kB / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/1.1, allocations: 19.98 kB / 0.5877 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.1, allocations: 192 / 0.5877 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/1.101, allocations: 4 kB / 0.5877 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/1.101, allocations: 7.969 kB / 0.5877 GB, free: 0.6836 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.013e-05/1.101, allocations: 112 kB / 0.5878 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/1.101, allocations: 15.8 kB / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/1.101, allocations: 98.33 kB / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.101, allocations: 3.984 kB / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.101, allocations: 0 / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.101, allocations: 0 / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/1.101, allocations: 371.8 kB / 0.5883 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.101, allocations: 0 / 0.5883 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/1.101, allocations: 15.92 kB / 0.5883 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.101, allocations: 7.938 kB / 0.5883 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.101, allocations: 0 / 0.5883 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.101, allocations: 0 / 0.5883 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.101, allocations: 0 / 0.5883 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002492/1.102, allocations: 210.1 kB / 0.5885 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000376/1.102, allocations: 0.5726 MB / 0.5891 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/1.102, allocations: 96.91 kB / 0.5892 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/1.102, allocations: 4 kB / 0.5892 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/1.102, allocations: 4 kB / 0.5892 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/1.102, allocations: 11.92 kB / 0.5892 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/1.102, allocations: 4.188 kB / 0.5892 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001122/1.102, allocations: 125.1 kB / 0.5893 GB, free: 14.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008627/1.103, allocations: 43.92 kB / 0.5894 GB, free: 14.88 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.001034/1.104, allocations: 345.8 kB / 0.5897 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/1.105, allocations: 51.94 kB / 0.5898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.105, allocations: 0 / 0.5898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/1.105, allocations: 27.98 kB / 0.5898 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/1.105, allocations: 33.36 kB / 0.5898 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/1.105, allocations: 148.7 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/1.106, allocations: 0.7231 MB / 0.5907 GB, free: 13.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/1.106, allocations: 0 / 0.5907 GB, free: 13.59 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)