Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.001054/0.001054, allocations: 175 kB / 8.521 MB, free: 1.84 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.292/1.292, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009206/0.0009208, allocations: 96.66 kB / 281.2 MB, free: 5.445 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.2125/0.2125, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2926/0.5052, allocations: 68.05 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.6611, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/1.049, allocations: 88.43 MB / 0.5806 GB, free: 8.281 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.049, allocations: 79.7 kB / 0.5806 GB, free: 8.207 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.01549/1.065, allocations: 5.374 MB / 0.5859 GB, free: 2.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.065, allocations: 11.94 kB / 0.5859 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/1.065, allocations: 7.906 kB / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/1.065, allocations: 207.4 kB / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/1.065, allocations: 0 / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/1.065, allocations: 7.906 kB / 0.5861 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.47e-05/1.065, allocations: 23.92 kB / 0.5861 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/1.065, allocations: 45.69 kB / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/1.065, allocations: 0 / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.065, allocations: 4 kB / 0.5862 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.065, allocations: 4 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/1.066, allocations: 265.4 kB / 0.5864 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/1.066, allocations: 50.62 kB / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/1.066, allocations: 24.91 kB / 0.5865 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/1.066, allocations: 4 kB / 0.5865 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/1.066, allocations: 59.41 kB / 0.5866 GB, free: 1.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/1.066, allocations: 0 / 0.5866 GB, free: 1.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004675/1.066, allocations: 137.2 kB / 0.5867 GB, free: 1.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/1.067, allocations: 55.41 kB / 0.5867 GB, free: 1.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/1.067, allocations: 153.5 kB / 0.5869 GB, free: 1.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.067, allocations: 25.7 kB / 0.5869 GB, free: 1.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/1.067, allocations: 88.14 kB / 0.587 GB, free: 1.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/1.067, allocations: 23.7 kB / 0.587 GB, free: 1.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.067, allocations: 0 / 0.587 GB, free: 1.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/1.067, allocations: 326.8 kB / 0.5873 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/1.067, allocations: 12 kB / 0.5873 GB, free: 1.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/1.067, allocations: 29.72 kB / 0.5874 GB, free: 1.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/1.067, allocations: 23.98 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/1.067, allocations: 0 / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001561/1.067, allocations: 101.4 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.067, allocations: 4 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.067, allocations: 0 / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.067, allocations: 3.984 kB / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.067, allocations: 20 kB / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.067, allocations: 0 / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/1.068, allocations: 7.984 kB / 0.5875 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/1.068, allocations: 0 / 0.5875 GB, free: 0.9375 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 8.337e-05/1.068, allocations: 117.1 kB / 0.5876 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/1.068, allocations: 7.906 kB / 0.5876 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/1.068, allocations: 102 kB / 0.5877 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.068, allocations: 0 / 0.5877 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.068, allocations: 0 / 0.5877 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.068, allocations: 3.984 kB / 0.5877 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/1.068, allocations: 355.8 kB / 0.5881 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.068, allocations: 0 / 0.5881 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/1.068, allocations: 20.02 kB / 0.5881 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.068, allocations: 0 / 0.5881 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.068, allocations: 3.906 kB / 0.5881 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.068, allocations: 11.88 kB / 0.5881 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.068, allocations: 0 / 0.5881 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001914/1.069, allocations: 197.9 kB / 0.5883 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003206/1.069, allocations: 0.5846 MB / 0.5889 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/1.069, allocations: 89 kB / 0.589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/1.069, allocations: 4 kB / 0.589 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/1.069, allocations: 0 / 0.589 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/1.069, allocations: 15.98 kB / 0.589 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/1.069, allocations: 4 kB / 0.589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.597e-05/1.069, allocations: 115.8 kB / 0.5891 GB, free: 15.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000827/1.07, allocations: 43.78 kB / 0.5891 GB, free: 15.15 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: 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.0008179/1.071, allocations: 350.3 kB / 0.5895 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/1.071, allocations: 51.94 kB / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.071, allocations: 0 / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/1.071, allocations: 28 kB / 0.5895 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/1.071, allocations: 23.97 kB / 0.5896 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/1.072, allocations: 136.8 kB / 0.5897 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/1.072, allocations: 0.7188 MB / 0.5904 GB, free: 13.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/1.072, allocations: 0 / 0.5904 GB, free: 13.88 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)