Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 180.8 kB / 8.524 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.4 MB / 230.3 MB, free: 7.609 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 101.9 kB / 281.2 MB, free: 5.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1988/0.1988, allocations: 44.15 MB / 376.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2815/0.4804, allocations: 68.04 MB / 444.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.6386, allocations: 61.91 MB / 0.4942 GB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/1.031, allocations: 89.39 MB / 0.5815 GB, free: 7.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.031, allocations: 72.61 kB / 0.5815 GB, free: 7.215 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01355/1.045, allocations: 4.452 MB / 0.5859 GB, free: 2.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.045, allocations: 15.94 kB / 0.5859 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/1.045, allocations: 23.75 kB / 0.5859 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/1.045, allocations: 224 kB / 0.5861 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/1.045, allocations: 4 kB / 0.5861 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/1.045, allocations: 4 kB / 0.5862 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001278/1.045, allocations: 35.91 kB / 0.5862 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/1.046, allocations: 98.98 kB / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.046, allocations: 0 / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/1.046, allocations: 0 / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.046, allocations: 0 / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/1.046, allocations: 0.4936 MB / 0.5868 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/1.047, allocations: 78.67 kB / 0.5868 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/1.047, allocations: 28.86 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/1.047, allocations: 0 / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/1.047, allocations: 71.39 kB / 0.5869 GB, free: 1.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/1.047, allocations: 3.938 kB / 0.5869 GB, free: 1.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003161/1.047, allocations: 93.48 kB / 0.587 GB, free: 1.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/1.047, allocations: 55.62 kB / 0.5871 GB, free: 1.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/1.048, allocations: 162.7 kB / 0.5872 GB, free: 1.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/1.048, allocations: 33.64 kB / 0.5873 GB, free: 1.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/1.048, allocations: 96.03 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/1.048, allocations: 31.55 kB / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/1.048, allocations: 0 / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/1.048, allocations: 322.8 kB / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/1.048, allocations: 27.94 kB / 0.5877 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/1.048, allocations: 61.78 kB / 0.5878 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/1.048, allocations: 23.98 kB / 0.5878 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.048, allocations: 96 / 0.5878 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002174/1.048, allocations: 121.4 kB / 0.5879 GB, free: 472 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.048, allocations: 8 kB / 0.5879 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.048, allocations: 0 / 0.5879 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.048, allocations: 4 kB / 0.5879 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/1.048, allocations: 23.98 kB / 0.588 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.049, allocations: 7.844 kB / 0.588 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/1.049, allocations: 11.94 kB / 0.588 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/1.049, allocations: 4 kB / 0.588 GB, free: 412 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 9.786e-05/1.049, allocations: 120.9 kB / 0.5881 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/1.049, allocations: 7.906 kB / 0.5881 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/1.049, allocations: 106.9 kB / 0.5882 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.049, allocations: 0 / 0.5882 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.049, allocations: 0 / 0.5882 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.049, allocations: 7.984 kB / 0.5882 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/1.049, allocations: 186.4 kB / 0.5884 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.049, allocations: 0 / 0.5884 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.049, allocations: 19.91 kB / 0.5884 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/1.049, allocations: 7.984 kB / 0.5884 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.049, allocations: 0 / 0.5884 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.049, allocations: 0 / 0.5884 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.05, allocations: 0 / 0.5884 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002847/1.05, allocations: 156.8 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004081/1.05, allocations: 0.5719 MB / 0.5891 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/1.05, allocations: 100.8 kB / 0.5892 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/1.05, allocations: 0 / 0.5892 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/1.05, allocations: 11.91 kB / 0.5892 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/1.051, allocations: 4.172 kB / 0.5892 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.051, allocations: 7.938 kB / 0.5892 GB, free: 15 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001299/1.051, allocations: 136.1 kB / 0.5894 GB, free: 14.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008445/1.052, allocations: 40.12 kB / 0.5894 GB, free: 14.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008397/1.052, allocations: 302.9 kB / 0.5897 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/1.053, allocations: 67.92 kB / 0.5898 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.053, allocations: 0 / 0.5898 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/1.053, allocations: 31.94 kB / 0.5898 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.053, allocations: 37.22 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/1.054, allocations: 187.5 kB / 0.59 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/1.054, allocations: 0.7313 MB / 0.5907 GB, free: 13.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/1.054, allocations: 0 / 0.5907 GB, free: 13.5 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)