Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001245/0.001245, allocations: 179.3 kB / 8.518 MB, free: 1.82 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.396/1.396, allocations: 221.4 MB / 230.3 MB, free: 7.805 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.0009234/0.0009231, allocations: 92.8 kB / 281.2 MB, free: 5.598 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.2138/0.2138, allocations: 44.14 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2389/0.4527, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.5714, allocations: 61.92 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.8949, allocations: 88.3 MB / 0.5804 GB, free: 8.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.8951, allocations: 77.42 kB / 0.5805 GB, free: 8.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01619/0.9114, allocations: 5.732 MB / 0.5861 GB, free: 2.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.9114, allocations: 15.94 kB / 0.5861 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.9115, allocations: 11.81 kB / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.9118, allocations: 230.3 kB / 0.5863 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9118, allocations: 0 / 0.5863 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.9119, allocations: 3.984 kB / 0.5863 GB, free: 2.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.195e-05/0.9119, allocations: 15.98 kB / 0.5864 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/0.912, allocations: 53.53 kB / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.912, allocations: 4 kB / 0.5864 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.9121, allocations: 3.984 kB / 0.5864 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.9121, allocations: 0.5625 kB / 0.5864 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.9123, allocations: 170.2 kB / 0.5866 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.9124, allocations: 42.62 kB / 0.5866 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.9124, allocations: 16.86 kB / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.9125, allocations: 0 / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.528e-05/0.9126, allocations: 75.42 kB / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.284e-06/0.9126, allocations: 3.938 kB / 0.5867 GB, free: 1.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001836/0.9128, allocations: 73.44 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.9128, allocations: 51.41 kB / 0.5868 GB, free: 1.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.913, allocations: 225.9 kB / 0.587 GB, free: 1.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.9131, allocations: 25.7 kB / 0.5871 GB, free: 1.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.9131, allocations: 100.1 kB / 0.5872 GB, free: 1.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.9131, allocations: 7.906 kB / 0.5872 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.9131, allocations: 0 / 0.5872 GB, free: 1.246 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9133, allocations: 334.8 kB / 0.5875 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.9133, allocations: 8 kB / 0.5875 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.9134, allocations: 29.7 kB / 0.5875 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.9134, allocations: 11.98 kB / 0.5875 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9134, allocations: 4 kB / 0.5875 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001211/0.9135, allocations: 85.44 kB / 0.5876 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9136, allocations: 4 kB / 0.5876 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.9136, allocations: 0 / 0.5876 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.9136, allocations: 3.906 kB / 0.5876 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.9137, allocations: 12 kB / 0.5876 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.9137, allocations: 0 / 0.5876 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.9137, allocations: 11.92 kB / 0.5877 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.9138, allocations: 0 / 0.5877 GB, free: 0.7305 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 (7): * Single equations (assignments): 7 * 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.221e-05/0.9138, allocations: 108.9 kB / 0.5878 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.9139, allocations: 15.84 kB / 0.5878 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.9141, allocations: 86.77 kB / 0.5879 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9141, allocations: 3.906 kB / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9141, allocations: 0 / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9141, allocations: 0 / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.9142, allocations: 174.2 kB / 0.588 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9143, allocations: 4 kB / 0.588 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.9143, allocations: 11.98 kB / 0.588 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.9143, allocations: 0 / 0.588 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.9143, allocations: 0 / 0.588 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9143, allocations: 4 kB / 0.588 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.9143, allocations: 7.844 kB / 0.5881 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001308/0.9145, allocations: 105.1 kB / 0.5882 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002967/0.9148, allocations: 481.3 kB / 0.5886 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.9149, allocations: 100.9 kB / 0.5887 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.9149, allocations: 7.938 kB / 0.5887 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.915, allocations: 4 kB / 0.5887 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.915, allocations: 3.984 kB / 0.5887 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.915, allocations: 8 kB / 0.5887 GB, free: 15.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001594/0.9152, allocations: 184.2 kB / 0.5889 GB, free: 15.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007983/0.916, allocations: 35.84 kB / 0.5889 GB, free: 15.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007379/0.9167, allocations: 310.4 kB / 0.5892 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.9169, allocations: 43.98 kB / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9169, allocations: 0 / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.9169, allocations: 19.94 kB / 0.5893 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.9172, allocations: 28.56 kB / 0.5893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.9177, allocations: 199.8 kB / 0.5895 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.9182, allocations: 0.7384 MB / 0.5902 GB, free: 14 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9182, allocations: 0 / 0.5902 GB, free: 14 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)