Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 194.9 kB / 7.806 MB, free: 2.449 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.097/1.097, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008778/0.0008776, allocations: 85.83 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.1679/0.1679, allocations: 43.5 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1745/0.3424, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.5769, allocations: 58.83 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.6847, allocations: 87.88 MB / 0.5513 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.685, allocations: 71.97 kB / 0.5514 GB, free: 10.99 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.01136/0.6963, allocations: 4.309 MB / 0.5556 GB, free: 6.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.6964, allocations: 8 kB / 0.5556 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.6964, allocations: 19.75 kB / 0.5556 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.6968, allocations: 230.7 kB / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.6968, allocations: 4 kB / 0.5558 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.6968, allocations: 11.91 kB / 0.5558 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.773e-05/0.6969, allocations: 35.98 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6971, allocations: 92.19 kB / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6971, allocations: 0 / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6971, allocations: 0 / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6971, allocations: 4 kB / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.6976, allocations: 0.4897 MB / 0.5564 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.6979, allocations: 78.62 kB / 0.5565 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.6979, allocations: 32.84 kB / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.698, allocations: 0 / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.607e-05/0.6981, allocations: 67.41 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.6981, allocations: 0 / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002057/0.6983, allocations: 97.42 kB / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.6983, allocations: 51.41 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.6985, allocations: 166.7 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6985, allocations: 33.69 kB / 0.5569 GB, free: 5.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.6986, allocations: 103.9 kB / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.6986, allocations: 23.66 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.6986, allocations: 0 / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6987, allocations: 326.8 kB / 0.5574 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.6988, allocations: 20 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.6988, allocations: 64.17 kB / 0.5575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.6989, allocations: 27.98 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6989, allocations: 96 / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000183/0.6991, allocations: 117.3 kB / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6991, allocations: 10.94 kB / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6991, allocations: 4 kB / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6991, allocations: 3.906 kB / 0.5576 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.6993, allocations: 23.98 kB / 0.5576 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6993, allocations: 4 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.6994, allocations: 11.92 kB / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.6994, allocations: 4 kB / 0.5577 GB, free: 4.305 MB / 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 7.535e-05/0.6995, allocations: 118.4 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.6995, allocations: 15.81 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.6997, allocations: 103 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.6997, allocations: 4 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.6997, allocations: 0 / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6997, allocations: 3.984 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.6999, allocations: 190.2 kB / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6999, allocations: 0 / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.7, allocations: 19.98 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7, allocations: 4 kB / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.7, allocations: 0 / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.7, allocations: 4 kB / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7, allocations: 4 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002268/0.7003, allocations: 156.8 kB / 0.5583 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003622/0.7006, allocations: 0.5718 MB / 0.5588 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.7007, allocations: 89 kB / 0.5589 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.7007, allocations: 7.906 kB / 0.5589 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.7008, allocations: 11.98 kB / 0.5589 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.7009, allocations: 4 kB / 0.5589 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.7009, allocations: 3.984 kB / 0.5589 GB, free: 2.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.97e-05/0.701, allocations: 132.1 kB / 0.559 GB, free: 2.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007968/0.7018, allocations: 44.05 kB / 0.5591 GB, free: 2.727 MB / 394.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.0006248/0.7024, allocations: 312.6 kB / 0.5594 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.7026, allocations: 59.94 kB / 0.5594 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7026, allocations: 0 / 0.5594 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.7026, allocations: 39.92 kB / 0.5595 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.7029, allocations: 35.62 kB / 0.5595 GB, free: 2.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.7033, allocations: 183.7 kB / 0.5597 GB, free: 2.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.7036, allocations: 0.7352 MB / 0.5604 GB, free: 1.355 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7036, allocations: 4 kB / 0.5604 GB, free: 1.352 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)