Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.0009674/0.0009674, allocations: 181.9 kB / 8.521 MB, free: 1.824 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.288/1.288, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0008809/0.0008809, allocations: 78.36 kB / 281.2 MB, free: 5.465 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.1686/0.1686, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2025/0.3711, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.496, allocations: 61.92 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.8162, allocations: 88.32 MB / 0.5804 GB, free: 8.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.8165, allocations: 72.61 kB / 0.5805 GB, free: 8.402 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01914/0.8356, allocations: 6.841 MB / 0.5872 GB, free: 1.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8357, allocations: 15.94 kB / 0.5872 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.8358, allocations: 47.34 kB / 0.5873 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008902/0.8367, allocations: 479 kB / 0.5877 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.8368, allocations: 0 / 0.5877 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.8368, allocations: 7.984 kB / 0.5877 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.8369, allocations: 24 kB / 0.5877 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.837, allocations: 87.34 kB / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8371, allocations: 0 / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.8371, allocations: 0 / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8371, allocations: 4 kB / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.8375, allocations: 358.8 kB / 0.5882 GB, free: 452 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.8377, allocations: 85.3 kB / 0.5882 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.8378, allocations: 37.8 kB / 0.5883 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.8378, allocations: 4 kB / 0.5883 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.838, allocations: 101 kB / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.838, allocations: 0 / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003551/0.8384, allocations: 141 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.8384, allocations: 85.11 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.8397, allocations: 0.8732 MB / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.8398, allocations: 29.7 kB / 0.5895 GB, free: 15.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.8398, allocations: 140.1 kB / 0.5896 GB, free: 14.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.8399, allocations: 23.66 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.8399, allocations: 0 / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.8401, allocations: 374.8 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.252e-05/0.8401, allocations: 20 kB / 0.59 GB, free: 14.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.8402, allocations: 55.42 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.8403, allocations: 36.11 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.8403, allocations: 3.906 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.8406, allocations: 149 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8406, allocations: 4 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8406, allocations: 0 / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8406, allocations: 4 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.8408, allocations: 31.77 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8408, allocations: 4 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.8409, allocations: 8.062 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.8409, allocations: 4 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001003/0.8411, allocations: 116.7 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.8411, allocations: 55.31 kB / 0.5905 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.8415, allocations: 169.6 kB / 0.5906 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.8415, allocations: 3.906 kB / 0.5906 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.8415, allocations: 0 / 0.5906 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8415, allocations: 8 kB / 0.5906 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.8419, allocations: 349.9 kB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8419, allocations: 0 / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.842, allocations: 15.92 kB / 0.591 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.842, allocations: 7.906 kB / 0.591 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.842, allocations: 0 / 0.591 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.842, allocations: 256 / 0.591 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.842, allocations: 8 kB / 0.591 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003266/0.8424, allocations: 195.2 kB / 0.5912 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004867/0.8429, allocations: 0.5774 MB / 0.5918 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.8432, allocations: 188.4 kB / 0.5919 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.8433, allocations: 4 kB / 0.5919 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.8434, allocations: 8 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.8434, allocations: 11.98 kB / 0.592 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.8435, allocations: 4 kB / 0.592 GB, free: 12.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001012/0.8445, allocations: 0.6941 MB / 0.5926 GB, free: 11.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00102/0.8455, allocations: 83.89 kB / 0.5927 GB, free: 11.54 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009443/0.8465, allocations: 307.3 kB / 0.593 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.8467, allocations: 67.98 kB / 0.5931 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8467, allocations: 0 / 0.5931 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.8468, allocations: 44.19 kB / 0.5931 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.8472, allocations: 62.2 kB / 0.5932 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.8486, allocations: 0.7467 MB / 0.5939 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006613/0.8493, allocations: 0.8889 MB / 0.5948 GB, free: 9.453 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.8493, allocations: 0 / 0.5948 GB, free: 9.453 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)