Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.001004/0.001005, allocations: 171.6 kB / 8.515 MB, free: 1.855 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.259/1.259, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0009761/0.0009761, allocations: 97.91 kB / 281.2 MB, free: 5.434 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.1671/0.1671, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2038/0.3709, allocations: 68.04 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.4905, allocations: 61.92 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.8084, allocations: 88.25 MB / 0.5804 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.8086, allocations: 71.97 kB / 0.5804 GB, free: 8.367 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.01492/0.8236, allocations: 5.474 MB / 0.5858 GB, free: 2.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8236, allocations: 11.94 kB / 0.5858 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.8237, allocations: 7.906 kB / 0.5858 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.824, allocations: 216.1 kB / 0.586 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.8241, allocations: 3.984 kB / 0.586 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.8241, allocations: 4 kB / 0.586 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.323e-05/0.8242, allocations: 16 kB / 0.586 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.8243, allocations: 49.58 kB / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.8243, allocations: 0 / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.8243, allocations: 0 / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8243, allocations: 0 / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.8245, allocations: 166.2 kB / 0.5862 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.8246, allocations: 46.56 kB / 0.5863 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.8247, allocations: 24.84 kB / 0.5863 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.8247, allocations: 3.938 kB / 0.5863 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.067e-05/0.8248, allocations: 63.41 kB / 0.5864 GB, free: 2.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.003e-06/0.8248, allocations: 0 / 0.5864 GB, free: 2.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001858/0.825, allocations: 73.52 kB / 0.5864 GB, free: 2.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.8251, allocations: 51.41 kB / 0.5865 GB, free: 2.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.8253, allocations: 197.3 kB / 0.5867 GB, free: 1.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.8253, allocations: 25.7 kB / 0.5867 GB, free: 1.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.8253, allocations: 88.14 kB / 0.5868 GB, free: 1.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.8254, allocations: 15.8 kB / 0.5868 GB, free: 1.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.8254, allocations: 0 / 0.5868 GB, free: 1.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8255, allocations: 326.8 kB / 0.5871 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.8255, allocations: 8 kB / 0.5871 GB, free: 1.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.8256, allocations: 25.72 kB / 0.5871 GB, free: 1.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.8256, allocations: 19.98 kB / 0.5872 GB, free: 1.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8256, allocations: 0 / 0.5872 GB, free: 1.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001312/0.8258, allocations: 81.44 kB / 0.5872 GB, free: 1.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8258, allocations: 4 kB / 0.5872 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8258, allocations: 0 / 0.5872 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.8258, allocations: 0 / 0.5872 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.8259, allocations: 15.98 kB / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.8259, allocations: 0 / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.826, allocations: 0 / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.826, allocations: 8.031 kB / 0.5873 GB, free: 1.176 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 7.705e-05/0.8261, allocations: 111.7 kB / 0.5874 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.8261, allocations: 7.906 kB / 0.5874 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.8263, allocations: 94.73 kB / 0.5875 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.8263, allocations: 0 / 0.5875 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8263, allocations: 3.938 kB / 0.5875 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8263, allocations: 3.984 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.8265, allocations: 170.2 kB / 0.5876 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8265, allocations: 0 / 0.5876 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.8265, allocations: 8 kB / 0.5877 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8265, allocations: 0 / 0.5877 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.8265, allocations: 0 / 0.5877 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.8265, allocations: 3.906 kB / 0.5877 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8265, allocations: 0 / 0.5877 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001354/0.8267, allocations: 108.8 kB / 0.5878 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002639/0.827, allocations: 485.3 kB / 0.5882 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.827, allocations: 96.94 kB / 0.5883 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.8271, allocations: 0 / 0.5883 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.8271, allocations: 8.047 kB / 0.5883 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.8272, allocations: 0 / 0.5883 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.8272, allocations: 7.938 kB / 0.5883 GB, free: 15.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001237/0.8273, allocations: 152.2 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008054/0.8281, allocations: 27.98 kB / 0.5885 GB, free: 15.81 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.0006511/0.8288, allocations: 324.3 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.8289, allocations: 32 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8289, allocations: 0 / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.829, allocations: 20 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.8292, allocations: 24.78 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.8297, allocations: 163.3 kB / 0.589 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.83, allocations: 0.7231 MB / 0.5897 GB, free: 14.56 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.83, allocations: 0 / 0.5897 GB, free: 14.56 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)