Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.00149/0.00149, allocations: 190.1 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.173/1.173, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009661/0.0009662, allocations: 94.5 kB / 261.4 MB, free: 13.53 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.1757/0.1757, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.194/0.3698, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.6423, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.7645, allocations: 86.73 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.7648, allocations: 71.97 kB / 0.5503 GB, free: 12.11 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.01537/0.7802, allocations: 5.531 MB / 0.5557 GB, free: 6.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.7802, allocations: 15.94 kB / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.7803, allocations: 11.81 kB / 0.5557 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.7807, allocations: 230.6 kB / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.7807, allocations: 0 / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.7807, allocations: 3.984 kB / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.893e-05/0.7808, allocations: 12 kB / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.7809, allocations: 57.58 kB / 0.556 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.7809, allocations: 0 / 0.556 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.7809, allocations: 4 kB / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7809, allocations: 0 / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.7811, allocations: 170.2 kB / 0.5561 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.836e-05/0.7812, allocations: 46.56 kB / 0.5562 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.7813, allocations: 20.86 kB / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.7813, allocations: 0 / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.292e-05/0.7814, allocations: 67.39 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.265e-06/0.7814, allocations: 3.984 kB / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001841/0.7816, allocations: 65.59 kB / 0.5563 GB, free: 5.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.7817, allocations: 51.41 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.7819, allocations: 229.6 kB / 0.5566 GB, free: 5.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.7819, allocations: 29.7 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.782, allocations: 100.1 kB / 0.5567 GB, free: 5.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.782, allocations: 7.891 kB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.782, allocations: 0 / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.7821, allocations: 326.8 kB / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.7821, allocations: 15.94 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.7822, allocations: 29.66 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.7822, allocations: 11.98 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7822, allocations: 11.91 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001229/0.7824, allocations: 73.59 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7824, allocations: 7.906 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7824, allocations: 0 / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.7824, allocations: 0 / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.7825, allocations: 19.92 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.7825, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.7826, allocations: 4 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.7826, allocations: 0 / 0.5572 GB, free: 4.777 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 6.993e-05/0.7827, allocations: 113.9 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.7827, allocations: 11.81 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.7829, allocations: 90.67 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7829, allocations: 0 / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7829, allocations: 3.938 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7829, allocations: 3.984 kB / 0.5574 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.783, allocations: 186 kB / 0.5576 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7831, allocations: 4 kB / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.7831, allocations: 8.188 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7831, allocations: 4 kB / 0.5576 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.7831, allocations: 4 kB / 0.5576 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.7831, allocations: 3.906 kB / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7831, allocations: 0 / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001288/0.7833, allocations: 104.9 kB / 0.5577 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002072/0.7835, allocations: 485.3 kB / 0.5582 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.7836, allocations: 100.9 kB / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.7836, allocations: 0 / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.7837, allocations: 4 kB / 0.5583 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.7837, allocations: 3.984 kB / 0.5583 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.7837, allocations: 4 kB / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001541/0.7839, allocations: 188.2 kB / 0.5585 GB, free: 3.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007903/0.7847, allocations: 31.91 kB / 0.5585 GB, free: 3.348 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.0007255/0.7854, allocations: 326.2 kB / 0.5588 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.7855, allocations: 39.94 kB / 0.5589 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7855, allocations: 0 / 0.5589 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.7856, allocations: 16 kB / 0.5589 GB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.7858, allocations: 27.83 kB / 0.5589 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.7864, allocations: 195.8 kB / 0.5591 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.7867, allocations: 0.7383 MB / 0.5598 GB, free: 2 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7867, allocations: 4 kB / 0.5598 GB, free: 1.996 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)