Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.0009829/0.000983, allocations: 190.9 kB / 7.805 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.084/1.084, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009042/0.0009042, allocations: 88.3 kB / 261.4 MB, free: 13.62 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.1718/0.1718, allocations: 43.49 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.3504, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.5987, allocations: 58.85 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.7107, allocations: 86.88 MB / 0.5503 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.7109, allocations: 75.95 kB / 0.5504 GB, free: 11.95 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.01442/0.7254, allocations: 5.375 MB / 0.5557 GB, free: 6.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7254, allocations: 8 kB / 0.5557 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.7255, allocations: 15.83 kB / 0.5557 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.7258, allocations: 213.6 kB / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.7258, allocations: 4 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.7258, allocations: 7.984 kB / 0.5559 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.783e-05/0.7259, allocations: 24 kB / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.086e-05/0.726, allocations: 49.67 kB / 0.556 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.726, allocations: 3.906 kB / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.726, allocations: 0 / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.726, allocations: 0 / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.7264, allocations: 261.5 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.7265, allocations: 58.53 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.7265, allocations: 16.98 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.7266, allocations: 8 kB / 0.5563 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.555e-05/0.7266, allocations: 63.38 kB / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.7267, allocations: 0 / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004096/0.7271, allocations: 137.2 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.7271, allocations: 55.41 kB / 0.5565 GB, free: 5.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.7273, allocations: 162.3 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.7273, allocations: 25.7 kB / 0.5567 GB, free: 5.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.7273, allocations: 96.06 kB / 0.5568 GB, free: 5.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.7274, allocations: 19.72 kB / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.7274, allocations: 0 / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.7275, allocations: 322.8 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.7275, allocations: 16 kB / 0.5572 GB, free: 4.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.7276, allocations: 37.7 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.7277, allocations: 20 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.7277, allocations: 3.906 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001458/0.7278, allocations: 93.52 kB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7278, allocations: 4 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7279, allocations: 0 / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7279, allocations: 0 / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.728, allocations: 19.98 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.728, allocations: 4.031 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.728, allocations: 11.84 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.7281, allocations: 4 kB / 0.5574 GB, free: 4.645 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.347e-05/0.7281, allocations: 109.8 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.7282, allocations: 7.906 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.7284, allocations: 110.3 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7284, allocations: 0 / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7284, allocations: 4 kB / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7284, allocations: 7.984 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.7287, allocations: 371.8 kB / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.7288, allocations: 0 / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.7288, allocations: 11.98 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7288, allocations: 0 / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.7288, allocations: 4.188 kB / 0.5579 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7288, allocations: 4 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7288, allocations: 0 / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001714/0.729, allocations: 209.9 kB / 0.5582 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002551/0.7293, allocations: 0.5764 MB / 0.5587 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.7294, allocations: 96.91 kB / 0.5588 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.7294, allocations: 4 kB / 0.5588 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.7295, allocations: 0 / 0.5588 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.7295, allocations: 7.984 kB / 0.5588 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.7295, allocations: 4 kB / 0.5588 GB, free: 3.008 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001015/0.7296, allocations: 144 kB / 0.559 GB, free: 2.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000818/0.7305, allocations: 31.94 kB / 0.559 GB, free: 2.836 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.0006941/0.7312, allocations: 350.3 kB / 0.5593 GB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.7313, allocations: 59.92 kB / 0.5594 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7313, allocations: 0 / 0.5594 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.7314, allocations: 32 kB / 0.5594 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.7317, allocations: 32.22 kB / 0.5594 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.7321, allocations: 156.5 kB / 0.5596 GB, free: 2.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.7325, allocations: 0.7309 MB / 0.5603 GB, free: 1.461 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7325, allocations: 0 / 0.5603 GB, free: 1.461 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)