Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.001239/0.001239, allocations: 189.9 kB / 7.808 MB, free: 2.492 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.1/1.1, 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.001014/0.001014, allocations: 96 kB / 261.4 MB, free: 13.54 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.1689/0.1689, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1742/0.3432, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.5831, allocations: 58.85 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.6895, allocations: 86.89 MB / 0.5503 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.6898, allocations: 79.12 kB / 0.5504 GB, free: 11.94 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.01488/0.7047, allocations: 5.356 MB / 0.5557 GB, free: 6.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7047, allocations: 12 kB / 0.5557 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.7048, allocations: 15.91 kB / 0.5557 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.7051, allocations: 217.6 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.7051, allocations: 0 / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.7052, allocations: 4 kB / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.179e-05/0.7052, allocations: 19.98 kB / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.663e-05/0.7053, allocations: 49.67 kB / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7054, allocations: 3.906 kB / 0.556 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.7054, allocations: 4 kB / 0.556 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7054, allocations: 0 / 0.556 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.7058, allocations: 269.5 kB / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.7059, allocations: 54.53 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.7059, allocations: 16.98 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.7059, allocations: 4 kB / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.492e-05/0.706, allocations: 59.41 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.706, allocations: 0 / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004197/0.7065, allocations: 137.2 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.7065, allocations: 59.39 kB / 0.5565 GB, free: 5.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.7067, allocations: 158.3 kB / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.7067, allocations: 29.64 kB / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.7067, allocations: 92.12 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.7068, allocations: 19.72 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.7068, allocations: 0 / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7069, allocations: 326.8 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.7069, allocations: 20 kB / 0.5572 GB, free: 4.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.707, allocations: 33.7 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.707, allocations: 20 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7071, allocations: 3.906 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001555/0.7072, allocations: 93.5 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7072, allocations: 8 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7073, allocations: 4.031 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.7073, allocations: 3.984 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.7074, allocations: 12 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7074, allocations: 4 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.7074, allocations: 8.078 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.7075, allocations: 8.156 kB / 0.5573 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.639e-05/0.7075, allocations: 113.7 kB / 0.5575 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.7076, allocations: 11.91 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.7078, allocations: 114 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7078, allocations: 0 / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7078, allocations: 0 / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7078, allocations: 0 / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.7082, allocations: 367.8 kB / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7082, allocations: 4.188 kB / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.7082, allocations: 15.98 kB / 0.5579 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.7082, allocations: 0 / 0.5579 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.7082, allocations: 4.031 kB / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7083, allocations: 4 kB / 0.5579 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7083, allocations: 0 / 0.5579 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001813/0.7085, allocations: 201.9 kB / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002992/0.7088, allocations: 0.5803 MB / 0.5587 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.7088, allocations: 96.91 kB / 0.5588 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.7089, allocations: 0 / 0.5588 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.709, allocations: 4 kB / 0.5588 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.709, allocations: 7.984 kB / 0.5588 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.709, allocations: 7.938 kB / 0.5588 GB, free: 3.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001035/0.7091, allocations: 140.1 kB / 0.559 GB, free: 2.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008284/0.71, allocations: 39.92 kB / 0.559 GB, free: 2.828 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.0006974/0.7107, allocations: 350.3 kB / 0.5593 GB, free: 2.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.7108, allocations: 59.92 kB / 0.5594 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7108, allocations: 0 / 0.5594 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.7109, allocations: 31.94 kB / 0.5594 GB, free: 2.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.7112, allocations: 23.84 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.0003961/0.7116, allocations: 156.5 kB / 0.5596 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.7119, allocations: 0.7271 MB / 0.5603 GB, free: 1.461 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7119, allocations: 0 / 0.5603 GB, free: 1.461 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)