Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.001028/0.001028, allocations: 192 kB / 7.804 MB, free: 2.504 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.207/1.207, 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.0008919/0.0008919, allocations: 95.64 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.1669/0.1669, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1827/0.3497, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.5926, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.7058, allocations: 86.75 MB / 0.5502 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.7061, allocations: 71.97 kB / 0.5503 GB, free: 12.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.017/0.7231, allocations: 6.619 MB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7232, allocations: 12 kB / 0.5568 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.7233, allocations: 51.34 kB / 0.5568 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.7241, allocations: 471 kB / 0.5573 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.7241, allocations: 0 / 0.5573 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.7241, allocations: 7.984 kB / 0.5573 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.051e-05/0.7242, allocations: 24 kB / 0.5573 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.7243, allocations: 83.31 kB / 0.5574 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7244, allocations: 7.922 kB / 0.5574 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7244, allocations: 4 kB / 0.5574 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.7244, allocations: 4 kB / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.7248, allocations: 358.7 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.7249, allocations: 93.34 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.725, allocations: 41.8 kB / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.725, allocations: 0 / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.7252, allocations: 97.03 kB / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.7252, allocations: 0 / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002854/0.7255, allocations: 145 kB / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.7255, allocations: 85.11 kB / 0.5582 GB, free: 3.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.7267, allocations: 0.8732 MB / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.7267, allocations: 33.7 kB / 0.559 GB, free: 2.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.7268, allocations: 132.1 kB / 0.5592 GB, free: 2.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.7268, allocations: 27.66 kB / 0.5592 GB, free: 2.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.7268, allocations: 0 / 0.5592 GB, free: 2.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.727, allocations: 374.7 kB / 0.5596 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.727, allocations: 20 kB / 0.5596 GB, free: 2.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.365e-05/0.7271, allocations: 59.42 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.7272, allocations: 23.98 kB / 0.5597 GB, free: 2.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7272, allocations: 4 kB / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002342/0.7274, allocations: 149 kB / 0.5598 GB, free: 2.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7274, allocations: 6.812 kB / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7274, allocations: 0 / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.7275, allocations: 12.22 kB / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.7276, allocations: 23.92 kB / 0.5598 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7276, allocations: 8 kB / 0.5598 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.7277, allocations: 4 kB / 0.5599 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.7277, allocations: 4 kB / 0.5599 GB, free: 2.016 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.142e-05/0.7278, allocations: 126.1 kB / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.7279, allocations: 43.44 kB / 0.56 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.7282, allocations: 173.5 kB / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7282, allocations: 0 / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7282, allocations: 0 / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.7283, allocations: 4 kB / 0.5602 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.7286, allocations: 349.9 kB / 0.5605 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7286, allocations: 11.78 kB / 0.5605 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.7286, allocations: 15.92 kB / 0.5605 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.7286, allocations: 4 kB / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.7287, allocations: 0 / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7287, allocations: 0 / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7287, allocations: 4 kB / 0.5606 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002462/0.7289, allocations: 195 kB / 0.5607 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003341/0.7293, allocations: 0.5735 MB / 0.5613 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.7295, allocations: 192.3 kB / 0.5615 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.7296, allocations: 8 kB / 0.5615 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.7297, allocations: 4 kB / 0.5615 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.7298, allocations: 8.109 kB / 0.5615 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.7298, allocations: 11.91 kB / 0.5615 GB, free: 188 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.000757/0.7306, allocations: 0.6942 MB / 0.5622 GB, free: 15.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009401/0.7315, allocations: 79.98 kB / 0.5623 GB, free: 15.41 MB / 410.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0006145/0.7321, allocations: 313.8 kB / 0.5626 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.7323, allocations: 71.98 kB / 0.5626 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7323, allocations: 0 / 0.5626 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.7324, allocations: 43.94 kB / 0.5627 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.7328, allocations: 61.91 kB / 0.5627 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.734, allocations: 0.7428 MB / 0.5635 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.7345, allocations: 0.8889 MB / 0.5643 GB, free: 13.28 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.7345, allocations: 0 / 0.5643 GB, free: 13.28 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)