Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.001492/0.001492, allocations: 179 kB / 8.519 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.309/1.309, allocations: 221.4 MB / 230.3 MB, free: 7.668 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.0009562/0.0009563, allocations: 83.98 kB / 281.2 MB, free: 5.477 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.1932/0.1932, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.261/0.4542, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.5848, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.9587, allocations: 89.24 MB / 0.5813 GB, free: 7.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.959, allocations: 71.97 kB / 0.5814 GB, free: 7.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.02101/0.98, allocations: 7.23 MB / 0.5885 GB, free: 144 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.9801, allocations: 15.92 kB / 0.5885 GB, free: 128 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.9802, allocations: 23.72 kB / 0.5885 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.9807, allocations: 282.1 kB / 0.5888 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.9807, allocations: 8 kB / 0.5888 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.9807, allocations: 4 kB / 0.5888 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/0.9809, allocations: 35.98 kB / 0.5888 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.9811, allocations: 100.1 kB / 0.5889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.9811, allocations: 0 / 0.5889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.9811, allocations: 0 / 0.5889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.9811, allocations: 7.938 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.9817, allocations: 374.1 kB / 0.5893 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.9819, allocations: 97.39 kB / 0.5894 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.982, allocations: 41.8 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.982, allocations: 7.938 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.9822, allocations: 101.1 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.9822, allocations: 0 / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002893/0.9825, allocations: 125.3 kB / 0.5896 GB, free: 14.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.9826, allocations: 110.8 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.9829, allocations: 291.3 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.9829, allocations: 33.64 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.983, allocations: 108.1 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.9831, allocations: 31.64 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.9831, allocations: 0 / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9832, allocations: 334.7 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.9833, allocations: 31.98 kB / 0.5905 GB, free: 13.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.9834, allocations: 69.14 kB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.556e-05/0.9834, allocations: 43.95 kB / 0.5906 GB, free: 13.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9834, allocations: 0 / 0.5906 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002051/0.9836, allocations: 125.3 kB / 0.5908 GB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9837, allocations: 8 kB / 0.5908 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.9837, allocations: 0 / 0.5908 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.9837, allocations: 0 / 0.5908 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.9838, allocations: 23.98 kB / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.9839, allocations: 0 / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.984, allocations: 19.95 kB / 0.5908 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.984, allocations: 8 kB / 0.5908 GB, free: 13.52 MB / 410.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.285e-05/0.9841, allocations: 120.8 kB / 0.5909 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.9841, allocations: 23.72 kB / 0.591 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.9844, allocations: 143.2 kB / 0.5911 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9844, allocations: 3.984 kB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9844, allocations: 4 kB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9845, allocations: 0 / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.9847, allocations: 238.4 kB / 0.5913 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9847, allocations: 7.938 kB / 0.5913 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.9848, allocations: 11.98 kB / 0.5913 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.9848, allocations: 4 kB / 0.5914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.9848, allocations: 7.984 kB / 0.5914 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9848, allocations: 0 / 0.5914 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.9848, allocations: 4 kB / 0.5914 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002453/0.9851, allocations: 179.2 kB / 0.5915 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003824/0.9855, allocations: 0.5389 MB / 0.5921 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.9856, allocations: 116.7 kB / 0.5922 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.9856, allocations: 8 kB / 0.5922 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.9857, allocations: 7.984 kB / 0.5922 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.9858, allocations: 7.984 kB / 0.5922 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.9858, allocations: 4 kB / 0.5922 GB, free: 11.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002912/0.9861, allocations: 235.1 kB / 0.5924 GB, free: 11.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008908/0.987, allocations: 51.92 kB / 0.5925 GB, free: 11.7 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0007358/0.9877, allocations: 331.5 kB / 0.5928 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.988, allocations: 83.92 kB / 0.5929 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.988, allocations: 0 / 0.5929 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.933e-05/0.9881, allocations: 51.92 kB / 0.5929 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.9885, allocations: 54.27 kB / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/0.9892, allocations: 288.4 kB / 0.5932 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.9896, allocations: 0.7783 MB / 0.594 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.9896, allocations: 0 / 0.594 GB, free: 10.14 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1)