Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001265/0.001266, allocations: 182.8 kB / 8.522 MB, free: 1.84 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.211/1.211, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0009978/0.0009978, allocations: 95.28 kB / 281.2 MB, free: 5.469 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.167/0.167, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1804/0.3475, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.4542, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/0.7206, allocations: 88.48 MB / 0.5806 GB, free: 8.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.7208, allocations: 78.89 kB / 0.5807 GB, free: 8.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01545/0.7363, allocations: 5.767 MB / 0.5863 GB, free: 2.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.7364, allocations: 11.94 kB / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.7364, allocations: 11.81 kB / 0.5863 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.7367, allocations: 214.8 kB / 0.5865 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.7367, allocations: 3.938 kB / 0.5865 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.7368, allocations: 4 kB / 0.5865 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.394e-05/0.7368, allocations: 16 kB / 0.5866 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.153e-05/0.7369, allocations: 49.67 kB / 0.5866 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.7369, allocations: 4 kB / 0.5866 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.7369, allocations: 4 kB / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.737, allocations: 0 / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.7373, allocations: 277.4 kB / 0.5869 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7374, allocations: 54.62 kB / 0.5869 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.7375, allocations: 20.92 kB / 0.5869 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.7375, allocations: 4 kB / 0.587 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.599e-05/0.7376, allocations: 55.41 kB / 0.587 GB, free: 1.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.7376, allocations: 0 / 0.587 GB, free: 1.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003877/0.738, allocations: 141.1 kB / 0.5871 GB, free: 1.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.738, allocations: 51.41 kB / 0.5872 GB, free: 1.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.7382, allocations: 197.9 kB / 0.5874 GB, free: 1.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.7383, allocations: 29.69 kB / 0.5874 GB, free: 1.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.7383, allocations: 99.98 kB / 0.5875 GB, free: 1.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.7383, allocations: 19.8 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.7384, allocations: 0 / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.7385, allocations: 331.5 kB / 0.5878 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.7385, allocations: 16 kB / 0.5878 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.7385, allocations: 37.7 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.7386, allocations: 12.19 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.7386, allocations: 0 / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001539/0.7388, allocations: 113.3 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.7388, allocations: 8.781 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7388, allocations: 0 / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.7388, allocations: 0 / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.7389, allocations: 12 kB / 0.588 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.7389, allocations: 4 kB / 0.588 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.739, allocations: 4.172 kB / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.739, allocations: 8 kB / 0.588 GB, free: 456 kB / 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 (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 6.267e-05/0.7391, allocations: 109 kB / 0.5881 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.7391, allocations: 15.81 kB / 0.5882 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.7393, allocations: 111.1 kB / 0.5883 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7393, allocations: 0 / 0.5883 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7393, allocations: 7.906 kB / 0.5883 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7393, allocations: 0 / 0.5883 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.7397, allocations: 364 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7397, allocations: 11.94 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.7398, allocations: 11.94 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7398, allocations: 3.984 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7398, allocations: 4 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7398, allocations: 0 / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7398, allocations: 3.938 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001814/0.74, allocations: 214 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002965/0.7403, allocations: 0.5764 MB / 0.5894 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.7404, allocations: 100.9 kB / 0.5895 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.7404, allocations: 8.266 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.7405, allocations: 4 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.7406, allocations: 7.906 kB / 0.5895 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.7406, allocations: 11.92 kB / 0.5895 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001345/0.7407, allocations: 159.2 kB / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000832/0.7415, allocations: 35.94 kB / 0.5897 GB, free: 14.58 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: 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.0006412/0.7422, allocations: 354.1 kB / 0.5901 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.7423, allocations: 47.94 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7423, allocations: 4 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.7424, allocations: 27.94 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.7427, allocations: 28.09 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.7431, allocations: 189 kB / 0.5904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.7434, allocations: 0.7348 MB / 0.5911 GB, free: 13.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7434, allocations: 0 / 0.5911 GB, free: 13.23 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)