Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001103/0.001103, allocations: 194.4 kB / 8.526 MB, free: 2.613 MB / 6.207 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.695 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009566/0.0009567, allocations: 96.05 kB / 281.2 MB, free: 5.172 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3021/0.3021, allocations: 44.15 MB / 376.1 MB, free: 44.96 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1194/0.4216, allocations: 68.04 MB / 444.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.5426, allocations: 61.92 MB / 0.4942 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.32/0.8626, allocations: 88.48 MB / 0.5806 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.8628, allocations: 72.09 kB / 0.5807 GB, free: 11.24 MB / 398.1 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.01317/0.876, allocations: 5.568 MB / 0.5861 GB, free: 6.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.876, allocations: 15.94 kB / 0.5861 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.8761, allocations: 7.906 kB / 0.5861 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.8763, allocations: 214.8 kB / 0.5863 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.8763, allocations: 0 / 0.5863 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.8764, allocations: 4 kB / 0.5863 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.454e-05/0.8764, allocations: 15.98 kB / 0.5864 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.305e-05/0.8765, allocations: 58.23 kB / 0.5864 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8765, allocations: 0 / 0.5864 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.8766, allocations: 3.906 kB / 0.5864 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8766, allocations: 4 kB / 0.5864 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.8768, allocations: 269.4 kB / 0.5867 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.8769, allocations: 46.69 kB / 0.5867 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.877, allocations: 27.27 kB / 0.5867 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.877, allocations: 0 / 0.5867 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.886e-05/0.8771, allocations: 63.39 kB / 0.5868 GB, free: 5.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.8771, allocations: 0 / 0.5868 GB, free: 5.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003339/0.8774, allocations: 137.1 kB / 0.5869 GB, free: 5.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.8774, allocations: 55.41 kB / 0.587 GB, free: 5.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.8776, allocations: 161.4 kB / 0.5871 GB, free: 5.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.8776, allocations: 29.7 kB / 0.5872 GB, free: 5.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.916e-05/0.8776, allocations: 92.12 kB / 0.5873 GB, free: 4.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.8776, allocations: 19.72 kB / 0.5873 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.8776, allocations: 0 / 0.5873 GB, free: 4.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.8777, allocations: 322.8 kB / 0.5876 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.8777, allocations: 20 kB / 0.5876 GB, free: 4.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.8778, allocations: 38.39 kB / 0.5876 GB, free: 4.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.8778, allocations: 20 kB / 0.5877 GB, free: 4.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.8778, allocations: 4 kB / 0.5877 GB, free: 4.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001193/0.8779, allocations: 89.48 kB / 0.5878 GB, free: 4.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.8779, allocations: 8.75 kB / 0.5878 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.878, allocations: 0 / 0.5878 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.878, allocations: 0 / 0.5878 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.8781, allocations: 19.92 kB / 0.5878 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.8781, allocations: 4 kB / 0.5878 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.8781, allocations: 3.938 kB / 0.5878 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.8781, allocations: 8.031 kB / 0.5878 GB, free: 4.352 MB / 398.1 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 4.563e-05/0.8782, allocations: 106.4 kB / 0.5879 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.8782, allocations: 16.66 kB / 0.5879 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.8784, allocations: 107.3 kB / 0.588 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.8784, allocations: 3.188 kB / 0.588 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8784, allocations: 0 / 0.588 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8784, allocations: 0 / 0.588 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.8787, allocations: 377.7 kB / 0.5884 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8787, allocations: 0 / 0.5884 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.8788, allocations: 15.98 kB / 0.5884 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.8788, allocations: 0 / 0.5884 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.8788, allocations: 3.938 kB / 0.5884 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8788, allocations: 4 kB / 0.5884 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8788, allocations: 0 / 0.5884 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001254/0.8789, allocations: 206.1 kB / 0.5886 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001631/0.8791, allocations: 0.5842 MB / 0.5892 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.8791, allocations: 92.91 kB / 0.5893 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.8792, allocations: 0 / 0.5893 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.8792, allocations: 12 kB / 0.5893 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.8793, allocations: 7.984 kB / 0.5893 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.8793, allocations: 4 kB / 0.5893 GB, free: 2.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.403e-05/0.8794, allocations: 138.5 kB / 0.5894 GB, free: 2.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008346/0.8802, allocations: 28 kB / 0.5894 GB, free: 2.551 MB / 398.1 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.0006481/0.8809, allocations: 355.9 kB / 0.5898 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.881, allocations: 55.97 kB / 0.5898 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.881, allocations: 0 / 0.5898 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.8811, allocations: 31.94 kB / 0.5899 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.8813, allocations: 23.89 kB / 0.5899 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.8817, allocations: 163.6 kB / 0.59 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.8818, allocations: 0.7213 MB / 0.5907 GB, free: 1.266 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8818, allocations: 0 / 0.5907 GB, free: 1.266 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)