Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.001062/0.001062, allocations: 188.8 kB / 7.802 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.13/1.13, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.000886/0.000886, allocations: 90.61 kB / 261.4 MB, free: 13.57 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.1634/0.1634, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1629/0.3264, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.5742, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.6887, allocations: 86.86 MB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.689, allocations: 75.95 kB / 0.5504 GB, free: 12.01 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.015/0.704, allocations: 5.324 MB / 0.5556 GB, free: 6.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.704, allocations: 15.94 kB / 0.5556 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.7041, allocations: 11.81 kB / 0.5556 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.7044, allocations: 212.9 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.7045, allocations: 0 / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.7045, allocations: 4 kB / 0.5558 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.375e-05/0.7046, allocations: 19.98 kB / 0.5558 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.7047, allocations: 49.59 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.7047, allocations: 0 / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.7047, allocations: 4 kB / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7047, allocations: 0 / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.7051, allocations: 269.4 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.7052, allocations: 58.62 kB / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.7053, allocations: 16.98 kB / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.7053, allocations: 4 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.438e-05/0.7054, allocations: 59.41 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.7054, allocations: 0 / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003961/0.7058, allocations: 133.2 kB / 0.5564 GB, free: 5.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.7058, allocations: 51.41 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.706, allocations: 190.3 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.706, allocations: 25.7 kB / 0.5567 GB, free: 5.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.7061, allocations: 96.12 kB / 0.5567 GB, free: 5.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.7061, allocations: 23.66 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.7061, allocations: 0 / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7062, allocations: 326.8 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.7063, allocations: 12 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.7063, allocations: 33.7 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.7064, allocations: 20 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.7064, allocations: 3.938 kB / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001533/0.7066, allocations: 101.5 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7066, allocations: 4 kB / 0.5573 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7066, allocations: 0 / 0.5573 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7066, allocations: 4 kB / 0.5573 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.7067, allocations: 23.97 kB / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7067, allocations: 3.938 kB / 0.5573 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.7068, allocations: 4.188 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.7068, allocations: 0 / 0.5573 GB, free: 4.723 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.922e-05/0.7069, allocations: 109 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.7069, allocations: 16 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.7071, allocations: 106.9 kB / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7071, allocations: 4 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7071, allocations: 0 / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7071, allocations: 0 / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.7075, allocations: 375.8 kB / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7075, allocations: 0 / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.7076, allocations: 16.03 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.7076, allocations: 0 / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.7076, allocations: 7.906 kB / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.7076, allocations: 0 / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7076, allocations: 0 / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001914/0.7078, allocations: 205.9 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003043/0.7081, allocations: 0.5764 MB / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.7082, allocations: 96.91 kB / 0.5587 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.7083, allocations: 0 / 0.5587 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.7084, allocations: 4 kB / 0.5587 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.7084, allocations: 15.92 kB / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.7084, allocations: 4 kB / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001103/0.7085, allocations: 144.9 kB / 0.5589 GB, free: 2.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008369/0.7094, allocations: 35.92 kB / 0.5589 GB, free: 2.902 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.0007171/0.7101, allocations: 349.8 kB / 0.5593 GB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.7102, allocations: 47.94 kB / 0.5593 GB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7102, allocations: 0 / 0.5593 GB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/0.7103, allocations: 31.94 kB / 0.5593 GB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.7106, allocations: 31.73 kB / 0.5594 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.711, allocations: 164.7 kB / 0.5595 GB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.7113, allocations: 0.7309 MB / 0.5602 GB, free: 1.535 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7113, allocations: 0 / 0.5602 GB, free: 1.535 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)