Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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 3.2.3+maint.om/package.mo): time 0.0009798/0.0009798, allocations: 187.7 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009313/0.0009312, allocations: 92.47 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1642/0.1642, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.182/0.3462, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.6162, allocations: 58.84 MB / 476.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.7344, allocations: 86.9 MB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.7347, allocations: 71.47 kB / 0.5504 GB, free: 12.04 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.0147/0.7494, allocations: 5.328 MB / 0.5556 GB, free: 6.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7495, allocations: 8 kB / 0.5556 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.7496, allocations: 7.906 kB / 0.5556 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.7499, allocations: 214.6 kB / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7499, allocations: 0 / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.75, allocations: 8 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.159e-05/0.75, allocations: 15.98 kB / 0.5559 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.362e-05/0.7501, allocations: 49.69 kB / 0.5559 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.7501, allocations: 0 / 0.5559 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.7502, allocations: 4 kB / 0.5559 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7502, allocations: 0 / 0.5559 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.7505, allocations: 265.4 kB / 0.5562 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.7506, allocations: 58.62 kB / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.7507, allocations: 20.97 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.7507, allocations: 0 / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.895e-05/0.7508, allocations: 63.31 kB / 0.5563 GB, free: 5.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.7508, allocations: 0 / 0.5563 GB, free: 5.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003988/0.7512, allocations: 129.3 kB / 0.5564 GB, free: 5.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.7513, allocations: 59.34 kB / 0.5565 GB, free: 5.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.7514, allocations: 157.3 kB / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.7514, allocations: 25.7 kB / 0.5567 GB, free: 5.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.7515, allocations: 92.12 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.7515, allocations: 23.66 kB / 0.5568 GB, free: 5.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.7515, allocations: 0 / 0.5568 GB, free: 5.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7516, allocations: 322.8 kB / 0.5571 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.7517, allocations: 20 kB / 0.5571 GB, free: 5.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.7517, allocations: 37.7 kB / 0.5571 GB, free: 4.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.7518, allocations: 16 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.7518, allocations: 0 / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001431/0.7519, allocations: 93.7 kB / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.752, allocations: 7.906 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.752, allocations: 7.938 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.752, allocations: 0 / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.7521, allocations: 15.98 kB / 0.5573 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7521, allocations: 4.031 kB / 0.5573 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.7522, allocations: 4 kB / 0.5573 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.7522, allocations: 7.984 kB / 0.5573 GB, free: 4.801 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 (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.968e-05/0.7522, allocations: 109.8 kB / 0.5574 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.7523, allocations: 11.81 kB / 0.5574 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.7525, allocations: 110.2 kB / 0.5575 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7525, allocations: 4 kB / 0.5575 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7525, allocations: 0 / 0.5575 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7525, allocations: 4 kB / 0.5575 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.7529, allocations: 356 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7529, allocations: 11.94 kB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.7529, allocations: 11.98 kB / 0.5579 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7529, allocations: 0 / 0.5579 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.753, allocations: 4 kB / 0.5579 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.753, allocations: 4 kB / 0.5579 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.753, allocations: 0 / 0.5579 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001777/0.7532, allocations: 205.9 kB / 0.5581 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003068/0.7535, allocations: 0.5764 MB / 0.5586 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.7535, allocations: 92.92 kB / 0.5587 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.7536, allocations: 3.984 kB / 0.5587 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.7537, allocations: 7.938 kB / 0.5587 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.7537, allocations: 4.281 kB / 0.5587 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.7537, allocations: 7.984 kB / 0.5587 GB, free: 3.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001058/0.7538, allocations: 128.1 kB / 0.5589 GB, free: 3.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000829/0.7547, allocations: 35.78 kB / 0.5589 GB, free: 3.008 MB / 394.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.0007395/0.7554, allocations: 350.2 kB / 0.5592 GB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.7556, allocations: 59.92 kB / 0.5593 GB, free: 2.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/0.7556, allocations: 0 / 0.5593 GB, free: 2.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.7557, allocations: 28.06 kB / 0.5593 GB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7559, allocations: 28.58 kB / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.7563, allocations: 144.5 kB / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.7567, allocations: 0.7309 MB / 0.5602 GB, free: 1.652 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7567, allocations: 0 / 0.5602 GB, free: 1.652 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)