Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001072/0.001072, allocations: 191.1 kB / 7.806 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.168/1.168, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.000956/0.0009561, allocations: 99.89 kB / 261.4 MB, free: 13.52 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.1711/0.1711, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1711/0.3422, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.5936, allocations: 58.84 MB / 476.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.7061, allocations: 86.99 MB / 0.5504 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.7064, allocations: 79.45 kB / 0.5505 GB, free: 11.93 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02019/0.7266, allocations: 7.558 MB / 0.5579 GB, free: 4.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.7266, allocations: 8 kB / 0.5579 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.7267, allocations: 23.72 kB / 0.5579 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.7271, allocations: 274.1 kB / 0.5582 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.7272, allocations: 4 kB / 0.5582 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.7272, allocations: 7.906 kB / 0.5582 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.054e-05/0.7273, allocations: 35.92 kB / 0.5582 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.7274, allocations: 91.36 kB / 0.5583 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7275, allocations: 0 / 0.5583 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.7275, allocations: 4 kB / 0.5583 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7275, allocations: 4 kB / 0.5583 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.728, allocations: 425.5 kB / 0.5587 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.7282, allocations: 101.5 kB / 0.5588 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.7282, allocations: 37.83 kB / 0.5589 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.7282, allocations: 4 kB / 0.5589 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.7284, allocations: 108.9 kB / 0.559 GB, free: 3.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.7284, allocations: 4 kB / 0.559 GB, free: 3.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.000609/0.729, allocations: 272.5 kB / 0.5592 GB, free: 2.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.7291, allocations: 81.11 kB / 0.5593 GB, free: 2.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.7294, allocations: 307.3 kB / 0.5596 GB, free: 2.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.7294, allocations: 33.7 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.7295, allocations: 104.4 kB / 0.5597 GB, free: 2.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.7295, allocations: 47.3 kB / 0.5598 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.7295, allocations: 0 / 0.5598 GB, free: 2.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7297, allocations: 338.8 kB / 0.5601 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.7297, allocations: 40 kB / 0.5602 GB, free: 1.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.7298, allocations: 66.86 kB / 0.5602 GB, free: 1.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.7299, allocations: 39.92 kB / 0.5603 GB, free: 1.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.7299, allocations: 0 / 0.5603 GB, free: 1.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002438/0.7302, allocations: 169.4 kB / 0.5604 GB, free: 1.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7302, allocations: 8.062 kB / 0.5604 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7302, allocations: 4.062 kB / 0.5604 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.7302, allocations: 7.984 kB / 0.5604 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.7304, allocations: 27.98 kB / 0.5605 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7304, allocations: 12 kB / 0.5605 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.7305, allocations: 7.984 kB / 0.5605 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.7305, allocations: 8 kB / 0.5605 GB, free: 1.457 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.276e-05/0.7306, allocations: 105 kB / 0.5606 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.7306, allocations: 35.56 kB / 0.5606 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.7309, allocations: 179.2 kB / 0.5608 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.7309, allocations: 3.984 kB / 0.5608 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7309, allocations: 0 / 0.5608 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.731, allocations: 4 kB / 0.5608 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.7316, allocations: 0.6013 MB / 0.5614 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7316, allocations: 0 / 0.5614 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.7317, allocations: 23.94 kB / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.7317, allocations: 0 / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.7317, allocations: 7.984 kB / 0.5614 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.7317, allocations: 4 kB / 0.5614 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7317, allocations: 3.938 kB / 0.5614 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002892/0.732, allocations: 378.5 kB / 0.5618 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004096/0.7324, allocations: 0.7437 MB / 0.5625 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.7325, allocations: 112.8 kB / 0.5626 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.7326, allocations: 7.906 kB / 0.5626 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.7328, allocations: 7.984 kB / 0.5626 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.7328, allocations: 15.98 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.7328, allocations: 8 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002266/0.7331, allocations: 247.1 kB / 0.5629 GB, free: 14.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009067/0.734, allocations: 59.88 kB / 0.563 GB, free: 14.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006716/0.7347, allocations: 354.3 kB / 0.5633 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.7349, allocations: 103.9 kB / 0.5634 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7349, allocations: 0 / 0.5634 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.735, allocations: 63.86 kB / 0.5635 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.7354, allocations: 53.41 kB / 0.5635 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.736, allocations: 331 kB / 0.5638 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/0.7364, allocations: 0.7897 MB / 0.5646 GB, free: 13.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7364, allocations: 0 / 0.5646 GB, free: 13.07 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)