Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.001158/0.001157, allocations: 179.4 kB / 8.517 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.286/1.286, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.0009894/0.0009895, allocations: 83.86 kB / 281.2 MB, free: 5.523 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.1748/0.1748, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2418/0.4166, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.5428, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.9067, allocations: 88.3 MB / 0.5804 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.907, allocations: 75.95 kB / 0.5805 GB, free: 8.348 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.01657/0.9236, allocations: 5.733 MB / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.9237, allocations: 15.94 kB / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.9238, allocations: 15.81 kB / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.9241, allocations: 230.2 kB / 0.5863 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.9242, allocations: 0 / 0.5863 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.9242, allocations: 4.656 kB / 0.5863 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.327e-05/0.9243, allocations: 15.98 kB / 0.5864 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.9244, allocations: 45.59 kB / 0.5864 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.9244, allocations: 0 / 0.5864 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9244, allocations: 4 kB / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9244, allocations: 4 kB / 0.5864 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.9246, allocations: 174.2 kB / 0.5866 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.9247, allocations: 54.5 kB / 0.5866 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.9248, allocations: 12.86 kB / 0.5866 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.9248, allocations: 4 kB / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.737e-05/0.9249, allocations: 59.5 kB / 0.5867 GB, free: 1.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.9249, allocations: 0 / 0.5867 GB, free: 1.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001856/0.9251, allocations: 73.48 kB / 0.5868 GB, free: 1.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.9251, allocations: 59.34 kB / 0.5868 GB, free: 1.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.9254, allocations: 229.9 kB / 0.587 GB, free: 1.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.9254, allocations: 25.7 kB / 0.5871 GB, free: 1.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.9255, allocations: 92.12 kB / 0.5872 GB, free: 1.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.9255, allocations: 7.906 kB / 0.5872 GB, free: 1.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.9255, allocations: 3.938 kB / 0.5872 GB, free: 1.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9257, allocations: 330.8 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.9257, allocations: 15.98 kB / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.9258, allocations: 21.72 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.9258, allocations: 16 kB / 0.5875 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9258, allocations: 0 / 0.5875 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001299/0.926, allocations: 77.48 kB / 0.5876 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.926, allocations: 8 kB / 0.5876 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.926, allocations: 0 / 0.5876 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.926, allocations: 7.938 kB / 0.5876 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.9261, allocations: 11.94 kB / 0.5876 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.9261, allocations: 0 / 0.5876 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.9262, allocations: 7.938 kB / 0.5876 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.9262, allocations: 7.984 kB / 0.5877 GB, free: 0.8125 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.921e-05/0.9263, allocations: 103.9 kB / 0.5878 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.9263, allocations: 19.81 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.9265, allocations: 86.69 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9265, allocations: 7.906 kB / 0.5879 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.9265, allocations: 0 / 0.5879 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9265, allocations: 4 kB / 0.5879 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.9267, allocations: 178.2 kB / 0.588 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9267, allocations: 0 / 0.588 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.9267, allocations: 4.188 kB / 0.588 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.9268, allocations: 3.984 kB / 0.588 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.9268, allocations: 8 kB / 0.588 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9268, allocations: 0 / 0.588 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9268, allocations: 3.906 kB / 0.5881 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000137/0.9269, allocations: 100.9 kB / 0.5881 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002768/0.9272, allocations: 489.4 kB / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.9273, allocations: 100.9 kB / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.9274, allocations: 0 / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.9274, allocations: 11.88 kB / 0.5887 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.9275, allocations: 11.98 kB / 0.5887 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.9275, allocations: 0 / 0.5887 GB, free: 15.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000175/0.9277, allocations: 188.2 kB / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008131/0.9285, allocations: 31.91 kB / 0.5889 GB, free: 15.38 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.0006775/0.9292, allocations: 314 kB / 0.5892 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.9293, allocations: 43.92 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9293, allocations: 4.062 kB / 0.5893 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.9294, allocations: 20 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.9296, allocations: 27.7 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.9301, allocations: 199.8 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.9305, allocations: 0.7305 MB / 0.5902 GB, free: 14.08 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.9305, allocations: 0 / 0.5902 GB, free: 14.08 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)