Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001778/0.001778, allocations: 179.8 kB / 8.518 MB, free: 500 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.4 MB / 230.3 MB, free: 13.49 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 97.67 kB / 281.2 MB, free: 10.5 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1899/0.1899, allocations: 44.14 MB / 376.1 MB, free: 11.66 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2115/0.4015, allocations: 68.04 MB / 444.1 MB, free: 54.28 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.5103, allocations: 61.92 MB / 0.4942 GB, free: 8.293 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/0.8145, allocations: 88.44 MB / 0.5806 GB, free: 10.21 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.8147, allocations: 71.97 kB / 0.5806 GB, free: 10.14 MB / 402.8 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.0157/0.8305, allocations: 5.473 MB / 0.586 GB, free: 4.633 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.8305, allocations: 11.94 kB / 0.586 GB, free: 4.621 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.8306, allocations: 7.906 kB / 0.586 GB, free: 4.613 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.8309, allocations: 226.6 kB / 0.5862 GB, free: 4.352 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.831, allocations: 4 kB / 0.5862 GB, free: 4.348 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.831, allocations: 0 / 0.5862 GB, free: 4.348 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.071e-05/0.8311, allocations: 19.98 kB / 0.5862 GB, free: 4.328 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.8312, allocations: 45.69 kB / 0.5863 GB, free: 4.277 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.8312, allocations: 7.984 kB / 0.5863 GB, free: 4.27 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8312, allocations: 3.906 kB / 0.5863 GB, free: 4.266 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8313, allocations: 0 / 0.5863 GB, free: 4.266 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.8317, allocations: 261.5 kB / 0.5865 GB, free: 3.973 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.8318, allocations: 62.56 kB / 0.5866 GB, free: 3.902 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.8319, allocations: 20.89 kB / 0.5866 GB, free: 3.879 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.8319, allocations: 0 / 0.5866 GB, free: 3.879 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.832, allocations: 63.41 kB / 0.5867 GB, free: 3.805 MB / 402.8 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.832, allocations: 4.75 kB / 0.5867 GB, free: 3.801 MB / 402.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004605/0.8325, allocations: 137.1 kB / 0.5868 GB, free: 3.66 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.8325, allocations: 51.41 kB / 0.5869 GB, free: 3.598 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.8327, allocations: 169.4 kB / 0.587 GB, free: 3.426 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.8328, allocations: 25.7 kB / 0.587 GB, free: 3.395 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.8328, allocations: 88.14 kB / 0.5871 GB, free: 3.305 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.8328, allocations: 19.7 kB / 0.5871 GB, free: 3.285 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.8328, allocations: 0 / 0.5871 GB, free: 3.285 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.8329, allocations: 334.8 kB / 0.5875 GB, free: 2.949 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/0.833, allocations: 12 kB / 0.5875 GB, free: 2.938 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.833, allocations: 33.7 kB / 0.5875 GB, free: 2.898 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.8331, allocations: 20 kB / 0.5875 GB, free: 2.879 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.8331, allocations: 3.938 kB / 0.5875 GB, free: 2.875 MB / 402.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001593/0.8333, allocations: 97.48 kB / 0.5876 GB, free: 2.773 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8333, allocations: 4 kB / 0.5876 GB, free: 2.77 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8333, allocations: 0 / 0.5876 GB, free: 2.77 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8333, allocations: 8.031 kB / 0.5876 GB, free: 2.762 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.8334, allocations: 12 kB / 0.5876 GB, free: 2.75 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8334, allocations: 3.938 kB / 0.5876 GB, free: 2.746 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.8335, allocations: 11.92 kB / 0.5877 GB, free: 2.734 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.8335, allocations: 0 / 0.5877 GB, free: 2.734 MB / 402.8 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 7.861e-05/0.8336, allocations: 113.1 kB / 0.5878 GB, free: 2.621 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.8336, allocations: 7.906 kB / 0.5878 GB, free: 2.613 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.8338, allocations: 114.1 kB / 0.5879 GB, free: 2.496 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8339, allocations: 8 kB / 0.5879 GB, free: 2.488 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8339, allocations: 0 / 0.5879 GB, free: 2.488 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.8339, allocations: 0 / 0.5879 GB, free: 2.488 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.8343, allocations: 363.8 kB / 0.5882 GB, free: 2.086 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8343, allocations: 0 / 0.5882 GB, free: 2.086 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.8343, allocations: 11.98 kB / 0.5882 GB, free: 2.074 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.8344, allocations: 4 kB / 0.5883 GB, free: 2.07 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.8344, allocations: 4 kB / 0.5883 GB, free: 2.066 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8344, allocations: 7.969 kB / 0.5883 GB, free: 2.059 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8344, allocations: 0 / 0.5883 GB, free: 2.059 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001973/0.8346, allocations: 206.1 kB / 0.5885 GB, free: 1.832 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003074/0.8349, allocations: 0.5805 MB / 0.589 GB, free: 1.223 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.835, allocations: 100.9 kB / 0.5891 GB, free: 1.105 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.835, allocations: 3.984 kB / 0.5891 GB, free: 1.102 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.8351, allocations: 4 kB / 0.5891 GB, free: 1.098 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.8352, allocations: 0 / 0.5891 GB, free: 1.098 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.8352, allocations: 11.98 kB / 0.5891 GB, free: 1.086 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001157/0.8353, allocations: 137 kB / 0.5893 GB, free: 0.9531 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0009018/0.8362, allocations: 35.98 kB / 0.5893 GB, free: 0.918 MB / 402.8 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.000774/0.837, allocations: 334.4 kB / 0.5896 GB, free: 0.6719 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.8371, allocations: 59.94 kB / 0.5897 GB, free: 0.6133 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8372, allocations: 4 kB / 0.5897 GB, free: 0.6094 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.8372, allocations: 35.91 kB / 0.5897 GB, free: 0.5742 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.8375, allocations: 26.23 kB / 0.5897 GB, free: 0.5508 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.838, allocations: 156.5 kB / 0.5899 GB, free: 372 kB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.8384, allocations: 0.731 MB / 0.5906 GB, free: 15.61 MB / 418.8 MB Notification: Performance of SimCode: time 2.7e-07/0.8384, allocations: 0 / 0.5906 GB, free: 15.61 MB / 418.8 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)