Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.001044/0.001044, allocations: 189.8 kB / 7.804 MB, free: 2.488 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.193/1.193, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001147/0.001147, allocations: 100.1 kB / 261.4 MB, free: 13.49 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.1885/0.1885, allocations: 43.49 MB / 352.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1963/0.3848, allocations: 64.97 MB / 417.8 MB, free: 40.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.6734, allocations: 58.85 MB / 476.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.7944, allocations: 86.68 MB / 0.5501 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.7946, allocations: 71.97 kB / 0.5502 GB, free: 12.02 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.01437/0.809, allocations: 5.154 MB / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.8091, allocations: 8 kB / 0.5553 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.8091, allocations: 11.89 kB / 0.5553 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.8095, allocations: 217.6 kB / 0.5555 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.8095, allocations: 0 / 0.5555 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.8095, allocations: 4 kB / 0.5555 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.198e-05/0.8096, allocations: 15.98 kB / 0.5555 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.461e-05/0.8097, allocations: 45.62 kB / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.8097, allocations: 0 / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8097, allocations: 4 kB / 0.5555 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8098, allocations: 4 kB / 0.5555 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.81, allocations: 162.2 kB / 0.5557 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.8101, allocations: 42.62 kB / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.8101, allocations: 20.94 kB / 0.5558 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.8101, allocations: 3.984 kB / 0.5558 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/0.8102, allocations: 63.34 kB / 0.5558 GB, free: 6.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.8103, allocations: 0 / 0.5558 GB, free: 6.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001917/0.8105, allocations: 77.44 kB / 0.5559 GB, free: 6.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.8105, allocations: 51.41 kB / 0.5559 GB, free: 5.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.8107, allocations: 170.3 kB / 0.5561 GB, free: 5.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.8107, allocations: 25.7 kB / 0.5561 GB, free: 5.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.8107, allocations: 88.14 kB / 0.5562 GB, free: 5.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.8108, allocations: 11.83 kB / 0.5562 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.8108, allocations: 3.938 kB / 0.5562 GB, free: 5.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8109, allocations: 322.8 kB / 0.5565 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.8109, allocations: 23.98 kB / 0.5566 GB, free: 5.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.811, allocations: 21.72 kB / 0.5566 GB, free: 5.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.811, allocations: 15.98 kB / 0.5566 GB, free: 5.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.811, allocations: 0 / 0.5566 GB, free: 5.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001233/0.8112, allocations: 73.53 kB / 0.5567 GB, free: 5.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.8112, allocations: 4 kB / 0.5567 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8112, allocations: 0 / 0.5567 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8112, allocations: 4 kB / 0.5567 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.8113, allocations: 16.03 kB / 0.5567 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.8113, allocations: 160 / 0.5567 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.8114, allocations: 11.89 kB / 0.5567 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.8114, allocations: 4.109 kB / 0.5567 GB, free: 5.172 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.658e-05/0.8115, allocations: 110.3 kB / 0.5568 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.8115, allocations: 15.81 kB / 0.5568 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.8116, allocations: 77.86 kB / 0.5569 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8117, allocations: 0 / 0.5569 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8117, allocations: 4 kB / 0.5569 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.8117, allocations: 0 / 0.5569 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.8118, allocations: 166.2 kB / 0.5571 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8118, allocations: 0 / 0.5571 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.8119, allocations: 7.906 kB / 0.5571 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8119, allocations: 0 / 0.5571 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8119, allocations: 4 kB / 0.5571 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8119, allocations: 0 / 0.5571 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8119, allocations: 0 / 0.5571 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001271/0.812, allocations: 108.9 kB / 0.5572 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002215/0.8123, allocations: 477.4 kB / 0.5576 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.8123, allocations: 92.92 kB / 0.5577 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.8124, allocations: 4 kB / 0.5577 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.8124, allocations: 3.984 kB / 0.5577 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.8125, allocations: 7.984 kB / 0.5577 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.8125, allocations: 4 kB / 0.5577 GB, free: 4.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001099/0.8126, allocations: 148 kB / 0.5579 GB, free: 3.859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007921/0.8134, allocations: 27.88 kB / 0.5579 GB, free: 3.832 MB / 394.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.0006403/0.8141, allocations: 309.8 kB / 0.5582 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.8142, allocations: 35.98 kB / 0.5582 GB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.8142, allocations: 0 / 0.5582 GB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.8142, allocations: 32 kB / 0.5583 GB, free: 3.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.8145, allocations: 23.78 kB / 0.5583 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.8148, allocations: 135.5 kB / 0.5584 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.8151, allocations: 0.7192 MB / 0.5591 GB, free: 2.566 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8151, allocations: 0 / 0.5591 GB, free: 2.566 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1)