Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.001774/0.001774, allocations: 192.1 kB / 7.804 MB, free: 2.477 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.117/1.117, 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.0008646/0.0008647, allocations: 92.22 kB / 261.4 MB, free: 13.55 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.176/0.176, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1743/0.3503, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.5859, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.6952, allocations: 86.94 MB / 0.5504 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.6954, allocations: 71.97 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01609/0.7115, allocations: 5.954 MB / 0.5563 GB, free: 5.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7116, allocations: 8 kB / 0.5563 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.7117, allocations: 19.72 kB / 0.5563 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.712, allocations: 222.6 kB / 0.5565 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.7121, allocations: 11.86 kB / 0.5565 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.7121, allocations: 4 kB / 0.5565 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00011/0.7122, allocations: 35.98 kB / 0.5566 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.7124, allocations: 61.67 kB / 0.5566 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7124, allocations: 0 / 0.5566 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.7124, allocations: 4 kB / 0.5566 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7124, allocations: 0 / 0.5566 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.7128, allocations: 313.2 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.713, allocations: 66.75 kB / 0.557 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.7131, allocations: 24.86 kB / 0.557 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7131, allocations: 3.984 kB / 0.557 GB, free: 5.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.7132, allocations: 67.41 kB / 0.5571 GB, free: 5.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.7132, allocations: 3.938 kB / 0.5571 GB, free: 5 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004861/0.7137, allocations: 181.2 kB / 0.5573 GB, free: 4.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.7137, allocations: 63.33 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.714, allocations: 217.7 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.714, allocations: 29.69 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.714, allocations: 96.12 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.7141, allocations: 27.56 kB / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.7141, allocations: 0 / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.7142, allocations: 330.8 kB / 0.558 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.7143, allocations: 28 kB / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.7144, allocations: 55.89 kB / 0.5581 GB, free: 3.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.7144, allocations: 35.92 kB / 0.5581 GB, free: 3.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.7144, allocations: 0 / 0.5581 GB, free: 3.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002055/0.7146, allocations: 117.4 kB / 0.5582 GB, free: 3.785 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7147, allocations: 8 kB / 0.5582 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7147, allocations: 3.984 kB / 0.5582 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.7147, allocations: 0 / 0.5582 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7148, allocations: 23.94 kB / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7148, allocations: 0 / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.7149, allocations: 8.016 kB / 0.5583 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.7149, allocations: 8 kB / 0.5583 GB, free: 3.734 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 (13): * Single equations (assignments): 13 * 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.095e-05/0.715, allocations: 110.3 kB / 0.5584 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.715, allocations: 19.72 kB / 0.5584 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.7153, allocations: 151.2 kB / 0.5585 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7153, allocations: 0 / 0.5585 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7154, allocations: 3.938 kB / 0.5585 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.7154, allocations: 4 kB / 0.5585 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.7159, allocations: 443.7 kB / 0.559 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7159, allocations: 0 / 0.559 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.7159, allocations: 16 kB / 0.559 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.716, allocations: 4 kB / 0.559 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.716, allocations: 7.984 kB / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.716, allocations: 4 kB / 0.559 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.716, allocations: 7.891 kB / 0.559 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002227/0.7162, allocations: 226 kB / 0.5592 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003293/0.7166, allocations: 0.6198 MB / 0.5598 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.7166, allocations: 100.9 kB / 0.5599 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.7167, allocations: 7.938 kB / 0.5599 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.7168, allocations: 0 / 0.5599 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.7168, allocations: 11.98 kB / 0.5599 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.7169, allocations: 4 kB / 0.5599 GB, free: 1.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001501/0.717, allocations: 175.2 kB / 0.5601 GB, free: 1.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008363/0.7179, allocations: 47.89 kB / 0.5601 GB, free: 1.664 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 (13): * Single equations (assignments): 11 * 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.0007009/0.7186, allocations: 348.1 kB / 0.5605 GB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.7187, allocations: 75.98 kB / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7187, allocations: 0 / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.7188, allocations: 44 kB / 0.5606 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.7191, allocations: 28.03 kB / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.7196, allocations: 228.1 kB / 0.5608 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.7199, allocations: 0.7539 MB / 0.5616 GB, free: 180 kB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7199, allocations: 4 kB / 0.5616 GB, free: 176 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)