Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.001281/0.001281, allocations: 190.4 kB / 7.805 MB, free: 2.496 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.177/1.177, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009743/0.0009743, allocations: 97.08 kB / 261.4 MB, free: 13.56 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.1666/0.1666, allocations: 43.49 MB / 352.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1834/0.35, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.5961, allocations: 58.85 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.7058, allocations: 86.75 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.706, allocations: 71.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01652/0.7225, allocations: 6.639 MB / 0.5568 GB, free: 5.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7226, allocations: 8 kB / 0.5568 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.7227, allocations: 47.34 kB / 0.5568 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.7235, allocations: 467.1 kB / 0.5573 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.7235, allocations: 8 kB / 0.5573 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.7235, allocations: 0 / 0.5573 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.18e-05/0.7236, allocations: 27.98 kB / 0.5573 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.7238, allocations: 83.31 kB / 0.5574 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7238, allocations: 3.938 kB / 0.5574 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.7238, allocations: 4 kB / 0.5574 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7238, allocations: 0 / 0.5574 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.7242, allocations: 358.8 kB / 0.5577 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.7244, allocations: 97.27 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.7244, allocations: 29.72 kB / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.7245, allocations: 4 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.7246, allocations: 97.19 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.856e-06/0.7246, allocations: 4 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002972/0.7249, allocations: 144.9 kB / 0.5581 GB, free: 3.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.725, allocations: 81.11 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.7261, allocations: 0.8771 MB / 0.559 GB, free: 2.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.7261, allocations: 25.7 kB / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.7262, allocations: 136.1 kB / 0.5592 GB, free: 2.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.7262, allocations: 27.64 kB / 0.5592 GB, free: 2.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.7263, allocations: 4 kB / 0.5592 GB, free: 2.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7264, allocations: 370.7 kB / 0.5596 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.7265, allocations: 24 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.7265, allocations: 55.36 kB / 0.5596 GB, free: 2.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.667e-05/0.7266, allocations: 31.98 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7266, allocations: 0 / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000246/0.7269, allocations: 149 kB / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.7269, allocations: 4 kB / 0.5598 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7269, allocations: 4 kB / 0.5598 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.727, allocations: 4.156 kB / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.7271, allocations: 23.92 kB / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.7271, allocations: 11.94 kB / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.7273, allocations: 12.05 kB / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.7273, allocations: 4 kB / 0.5599 GB, free: 2.039 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 7.77e-05/0.7274, allocations: 114.2 kB / 0.56 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.7274, allocations: 47.44 kB / 0.56 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.7277, allocations: 173.4 kB / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7277, allocations: 0 / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7277, allocations: 4 kB / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7278, allocations: 3.984 kB / 0.5602 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.7281, allocations: 353.9 kB / 0.5605 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.7281, allocations: 7.844 kB / 0.5605 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.7281, allocations: 12 kB / 0.5605 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7281, allocations: 0 / 0.5605 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.7281, allocations: 0 / 0.5605 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7282, allocations: 7.984 kB / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7282, allocations: 0 / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002436/0.7284, allocations: 194.9 kB / 0.5607 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003445/0.7288, allocations: 0.5736 MB / 0.5613 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.729, allocations: 192.3 kB / 0.5615 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.7291, allocations: 0 / 0.5615 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.7292, allocations: 11.98 kB / 0.5615 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.7292, allocations: 12.11 kB / 0.5615 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.7293, allocations: 11.91 kB / 0.5615 GB, free: 216 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007508/0.73, allocations: 0.6981 MB / 0.5622 GB, free: 15.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008817/0.7309, allocations: 72 kB / 0.5623 GB, free: 15.44 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.0006037/0.7315, allocations: 317.5 kB / 0.5626 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.7317, allocations: 71.92 kB / 0.5626 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7317, allocations: 4 kB / 0.5626 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/0.7318, allocations: 43.92 kB / 0.5627 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.7321, allocations: 53.92 kB / 0.5627 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.7333, allocations: 0.7428 MB / 0.5635 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.7338, allocations: 0.8928 MB / 0.5643 GB, free: 13.31 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7338, allocations: 0 / 0.5643 GB, free: 13.31 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)