Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001567/0.001567, allocations: 181.9 kB / 8.523 MB, free: 1.828 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.271/1.271, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009759/0.0009761, allocations: 95.42 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.1916/0.1916, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2352/0.4268, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.5448, allocations: 61.92 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3561/0.9009, allocations: 88.49 MB / 0.5806 GB, free: 8.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.9012, allocations: 72.5 kB / 0.5807 GB, free: 8.133 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.01619/0.9174, allocations: 5.897 MB / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.9174, allocations: 19.86 kB / 0.5865 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.9175, allocations: 11.81 kB / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.9179, allocations: 238.1 kB / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.9179, allocations: 4 kB / 0.5867 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.918, allocations: 7.906 kB / 0.5867 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.125e-05/0.9181, allocations: 16 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.9182, allocations: 53.67 kB / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9182, allocations: 0 / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.9182, allocations: 0 / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9182, allocations: 0 / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.9186, allocations: 285.3 kB / 0.587 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.9188, allocations: 50.69 kB / 0.5871 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.9188, allocations: 24.92 kB / 0.5871 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.9188, allocations: 4 kB / 0.5871 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.825e-05/0.9189, allocations: 59.39 kB / 0.5872 GB, free: 1.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.919, allocations: 4 kB / 0.5872 GB, free: 1.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004829/0.9195, allocations: 141 kB / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.9195, allocations: 55.41 kB / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.9198, allocations: 226 kB / 0.5876 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.9198, allocations: 29.7 kB / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.9198, allocations: 92.12 kB / 0.5877 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.9199, allocations: 23.66 kB / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.9199, allocations: 0 / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.9201, allocations: 330.8 kB / 0.588 GB, free: 428 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.9201, allocations: 16 kB / 0.588 GB, free: 412 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.9202, allocations: 29.72 kB / 0.5881 GB, free: 376 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.9202, allocations: 31.92 kB / 0.5881 GB, free: 344 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.9202, allocations: 0 / 0.5881 GB, free: 344 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001579/0.9204, allocations: 89.5 kB / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.9204, allocations: 4 kB / 0.5882 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9204, allocations: 4 kB / 0.5882 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9205, allocations: 0 / 0.5882 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.9206, allocations: 23.83 kB / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.9206, allocations: 160 / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.9206, allocations: 4 kB / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.9207, allocations: 16.02 kB / 0.5882 GB, free: 196 kB / 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.759e-05/0.9207, allocations: 101 kB / 0.5883 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.9208, allocations: 20.17 kB / 0.5884 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.921, allocations: 107 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.921, allocations: 0 / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.921, allocations: 4 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.921, allocations: 7.891 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.9214, allocations: 391.9 kB / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.9214, allocations: 3.984 kB / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.9215, allocations: 12 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.9215, allocations: 3.906 kB / 0.5889 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.9215, allocations: 7.984 kB / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9215, allocations: 0 / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9215, allocations: 3.938 kB / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001798/0.9217, allocations: 210.1 kB / 0.5891 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002698/0.922, allocations: 0.5842 MB / 0.5896 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.9221, allocations: 96.91 kB / 0.5897 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.9221, allocations: 8 kB / 0.5897 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.9222, allocations: 4 kB / 0.5898 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.9222, allocations: 7.984 kB / 0.5898 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.9223, allocations: 4 kB / 0.5898 GB, free: 14.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001579/0.9224, allocations: 188.2 kB / 0.5899 GB, free: 14.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000856/0.9233, allocations: 43.83 kB / 0.59 GB, free: 14.27 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.0006932/0.924, allocations: 353.9 kB / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.9242, allocations: 55.98 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9242, allocations: 0 / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.9242, allocations: 31.92 kB / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.9245, allocations: 23.77 kB / 0.5904 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.925, allocations: 212.9 kB / 0.5906 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.9254, allocations: 0.7422 MB / 0.5914 GB, free: 12.89 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.9254, allocations: 0 / 0.5914 GB, free: 12.89 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)