Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001008/0.001008, allocations: 174.8 kB / 8.518 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.365/1.365, allocations: 221.4 MB / 230.3 MB, free: 7.621 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.0009365/0.0009365, allocations: 92.66 kB / 281.2 MB, free: 5.434 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.2076/0.2076, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2717/0.4793, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.62, allocations: 61.92 MB / 0.4942 GB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.9988, allocations: 87.13 MB / 0.5793 GB, free: 9.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.9991, allocations: 75.95 kB / 0.5793 GB, free: 9.469 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.01035/1.009, allocations: 3.719 MB / 0.583 GB, free: 5.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.01, allocations: 15.94 kB / 0.583 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/1.01, allocations: 3.906 kB / 0.583 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.01, allocations: 198.8 kB / 0.5832 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/1.01, allocations: 8 kB / 0.5832 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/1.01, allocations: 0 / 0.5832 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.599e-05/1.01, allocations: 11.94 kB / 0.5832 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.519e-05/1.01, allocations: 45.69 kB / 0.5832 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.01, allocations: 0 / 0.5832 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/1.01, allocations: 0 / 0.5832 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.01, allocations: 0 / 0.5832 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/1.01, allocations: 253.4 kB / 0.5835 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.011, allocations: 33.66 kB / 0.5835 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/1.011, allocations: 12.86 kB / 0.5835 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/1.011, allocations: 0 / 0.5835 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.011, allocations: 38.55 kB / 0.5836 GB, free: 5.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.011, allocations: 0 / 0.5836 GB, free: 5.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003887/1.011, allocations: 97.33 kB / 0.5837 GB, free: 4.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/1.011, allocations: 63.34 kB / 0.5837 GB, free: 4.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/1.011, allocations: 131.7 kB / 0.5838 GB, free: 4.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/1.011, allocations: 25.7 kB / 0.5839 GB, free: 4.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/1.011, allocations: 96.06 kB / 0.584 GB, free: 4.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/1.011, allocations: 11.75 kB / 0.584 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.011, allocations: 0 / 0.584 GB, free: 4.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/1.011, allocations: 323.7 kB / 0.5843 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/1.012, allocations: 12 kB / 0.5843 GB, free: 4.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/1.012, allocations: 8 kB / 0.5843 GB, free: 4.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/1.012, allocations: 11.91 kB / 0.5843 GB, free: 4.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/1.012, allocations: 0 / 0.5843 GB, free: 4.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/1.012, allocations: 61.59 kB / 0.5844 GB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.012, allocations: 4 kB / 0.5844 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.012, allocations: 0 / 0.5844 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/1.012, allocations: 0 / 0.5844 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/1.012, allocations: 23.92 kB / 0.5844 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.012, allocations: 0 / 0.5844 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/1.012, allocations: 4 kB / 0.5844 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/1.012, allocations: 7.984 kB / 0.5844 GB, free: 4.098 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 5.841e-05/1.012, allocations: 104.9 kB / 0.5845 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/1.012, allocations: 15.95 kB / 0.5845 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/1.012, allocations: 69.84 kB / 0.5846 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.012, allocations: 4 kB / 0.5846 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.012, allocations: 0 / 0.5846 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.012, allocations: 4 kB / 0.5846 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/1.013, allocations: 307.3 kB / 0.5849 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.013, allocations: 4.062 kB / 0.5849 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/1.013, allocations: 15.98 kB / 0.5849 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.013, allocations: 0 / 0.5849 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/1.013, allocations: 4 kB / 0.5849 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.013, allocations: 0 / 0.5849 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.013, allocations: 4 kB / 0.5849 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001335/1.013, allocations: 151.5 kB / 0.5851 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002527/1.013, allocations: 0.5271 MB / 0.5856 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/1.013, allocations: 97 kB / 0.5857 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/1.013, allocations: 3.938 kB / 0.5857 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/1.013, allocations: 8 kB / 0.5857 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/1.013, allocations: 3.984 kB / 0.5857 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/1.013, allocations: 0 / 0.5857 GB, free: 2.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.204e-05/1.013, allocations: 117.6 kB / 0.5858 GB, free: 2.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000935/1.014, allocations: 23.91 kB / 0.5858 GB, free: 2.543 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.0006353/1.015, allocations: 300.1 kB / 0.5861 GB, free: 2.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/1.015, allocations: 27.94 kB / 0.5861 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.015, allocations: 0 / 0.5861 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/1.015, allocations: 16 kB / 0.5862 GB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/1.015, allocations: 8.797 kB / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/1.016, allocations: 111.7 kB / 0.5863 GB, free: 2.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/1.016, allocations: 0.7114 MB / 0.587 GB, free: 1.402 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/1.016, allocations: 0 / 0.587 GB, free: 1.402 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1)