Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.0009408/0.0009408, allocations: 179.2 kB / 8.522 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.311/1.311, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0009764/0.0009763, allocations: 86.12 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.1984/0.1984, allocations: 44.16 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.273/0.4715, allocations: 68.02 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.6255, allocations: 61.91 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3955/1.021, allocations: 87.13 MB / 0.5793 GB, free: 9.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/1.022, allocations: 75.67 kB / 0.5793 GB, free: 9.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01034/1.032, allocations: 3.675 MB / 0.5829 GB, free: 5.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.032, allocations: 11.94 kB / 0.5829 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/1.032, allocations: 7.906 kB / 0.583 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/1.032, allocations: 190.9 kB / 0.5831 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/1.032, allocations: 0 / 0.5831 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/1.032, allocations: 11.89 kB / 0.5831 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.918e-05/1.032, allocations: 15.94 kB / 0.5832 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.572e-05/1.032, allocations: 33.7 kB / 0.5832 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.032, allocations: 4 kB / 0.5832 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.033, allocations: 3.984 kB / 0.5832 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.033, allocations: 0 / 0.5832 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/1.033, allocations: 245.5 kB / 0.5834 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/1.033, allocations: 33.69 kB / 0.5835 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/1.033, allocations: 12.86 kB / 0.5835 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/1.033, allocations: 3.938 kB / 0.5835 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.033, allocations: 34.56 kB / 0.5835 GB, free: 4.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.033, allocations: 0 / 0.5835 GB, free: 4.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004257/1.034, allocations: 97.48 kB / 0.5836 GB, free: 4.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/1.034, allocations: 51.41 kB / 0.5837 GB, free: 4.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/1.034, allocations: 129.2 kB / 0.5838 GB, free: 4.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/1.034, allocations: 29.69 kB / 0.5838 GB, free: 4.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/1.034, allocations: 84.08 kB / 0.5839 GB, free: 4.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/1.034, allocations: 19.72 kB / 0.5839 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.034, allocations: 0 / 0.5839 GB, free: 4.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/1.034, allocations: 326.8 kB / 0.5842 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/1.034, allocations: 7.938 kB / 0.5842 GB, free: 4.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/1.034, allocations: 8 kB / 0.5842 GB, free: 4.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/1.034, allocations: 8 kB / 0.5842 GB, free: 4.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/1.034, allocations: 0 / 0.5842 GB, free: 4.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/1.034, allocations: 61.59 kB / 0.5843 GB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.034, allocations: 4 kB / 0.5843 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.034, allocations: 0 / 0.5843 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.034, allocations: 4 kB / 0.5843 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/1.034, allocations: 19.98 kB / 0.5843 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.034, allocations: 256 / 0.5843 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/1.034, allocations: 4 kB / 0.5843 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/1.034, allocations: 4 kB / 0.5843 GB, free: 4.102 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.382e-05/1.035, allocations: 112.9 kB / 0.5844 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/1.035, allocations: 3.906 kB / 0.5844 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/1.035, allocations: 77.8 kB / 0.5845 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/1.035, allocations: 4 kB / 0.5845 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.035, allocations: 3.938 kB / 0.5845 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.035, allocations: 0 / 0.5845 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/1.035, allocations: 303 kB / 0.5848 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.035, allocations: 0 / 0.5848 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/1.035, allocations: 19.92 kB / 0.5848 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.035, allocations: 4 kB / 0.5848 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/1.035, allocations: 0 / 0.5848 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.035, allocations: 0 / 0.5848 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.035, allocations: 0 / 0.5848 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000143/1.035, allocations: 155.5 kB / 0.585 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002593/1.036, allocations: 0.5349 MB / 0.5855 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/1.036, allocations: 85.02 kB / 0.5856 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/1.036, allocations: 0 / 0.5856 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/1.036, allocations: 8.234 kB / 0.5856 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/1.036, allocations: 4 kB / 0.5856 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/1.036, allocations: 7.938 kB / 0.5856 GB, free: 2.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.173e-05/1.036, allocations: 110.4 kB / 0.5857 GB, free: 2.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008981/1.037, allocations: 23.94 kB / 0.5857 GB, free: 2.551 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006684/1.038, allocations: 294.9 kB / 0.586 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/1.038, allocations: 24 kB / 0.586 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.038, allocations: 0 / 0.586 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/1.038, allocations: 23.92 kB / 0.5861 GB, free: 2.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/1.038, allocations: 8.719 kB / 0.5861 GB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/1.038, allocations: 107.7 kB / 0.5862 GB, free: 2.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/1.039, allocations: 0.7075 MB / 0.5869 GB, free: 1.414 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/1.039, allocations: 0 / 0.5869 GB, free: 1.414 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)