Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001606/0.001606, allocations: 181.8 kB / 8.521 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.389/1.389, 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.001019/0.001019, allocations: 89.86 kB / 281.2 MB, free: 5.426 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.1697/0.1697, allocations: 44.15 MB / 376.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1857/0.3555, allocations: 68.03 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.4567, allocations: 61.91 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.7107, allocations: 87.13 MB / 0.5793 GB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.7109, allocations: 75.86 kB / 0.5793 GB, free: 9.566 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.009799/0.7208, allocations: 3.683 MB / 0.5829 GB, free: 5.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.7208, allocations: 11.94 kB / 0.5829 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.7209, allocations: 7.906 kB / 0.583 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.7211, allocations: 194.8 kB / 0.5831 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.7211, allocations: 4 kB / 0.5831 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.7211, allocations: 7.906 kB / 0.5832 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.126e-05/0.7212, allocations: 15.94 kB / 0.5832 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.559e-05/0.7213, allocations: 41.69 kB / 0.5832 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7213, allocations: 0 / 0.5832 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.7213, allocations: 0 / 0.5832 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7213, allocations: 0 / 0.5832 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.7216, allocations: 249.4 kB / 0.5834 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.7218, allocations: 33.72 kB / 0.5835 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.7218, allocations: 12.8 kB / 0.5835 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.7219, allocations: 4 kB / 0.5835 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.7219, allocations: 34.64 kB / 0.5835 GB, free: 5.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.7219, allocations: 0 / 0.5835 GB, free: 5.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003984/0.7223, allocations: 97.39 kB / 0.5836 GB, free: 5.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.7223, allocations: 51.41 kB / 0.5837 GB, free: 4.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.7225, allocations: 132.3 kB / 0.5838 GB, free: 4.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.7225, allocations: 25.7 kB / 0.5838 GB, free: 4.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.7226, allocations: 92.06 kB / 0.5839 GB, free: 4.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.7226, allocations: 15.72 kB / 0.5839 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.7226, allocations: 3.938 kB / 0.5839 GB, free: 4.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7228, allocations: 322.8 kB / 0.5842 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.7228, allocations: 8 kB / 0.5842 GB, free: 4.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.7228, allocations: 8 kB / 0.5842 GB, free: 4.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.7228, allocations: 12 kB / 0.5843 GB, free: 4.359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.7228, allocations: 0 / 0.5843 GB, free: 4.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.838e-05/0.7229, allocations: 57.59 kB / 0.5843 GB, free: 4.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.723, allocations: 8 kB / 0.5843 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.723, allocations: 0 / 0.5843 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.723, allocations: 0 / 0.5843 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.7231, allocations: 15.98 kB / 0.5843 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.7231, allocations: 4 kB / 0.5843 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.7231, allocations: 4 kB / 0.5843 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.7232, allocations: 4 kB / 0.5843 GB, free: 4.262 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.44e-05/0.7232, allocations: 108.8 kB / 0.5845 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.7233, allocations: 7.906 kB / 0.5845 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.7234, allocations: 74.11 kB / 0.5845 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7234, allocations: 4 kB / 0.5845 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7234, allocations: 0 / 0.5845 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7235, allocations: 0 / 0.5845 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.7238, allocations: 299 kB / 0.5848 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7238, allocations: 3.984 kB / 0.5848 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.7239, allocations: 15.94 kB / 0.5848 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7239, allocations: 0 / 0.5848 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.7239, allocations: 4 kB / 0.5848 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7239, allocations: 0 / 0.5848 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7239, allocations: 4 kB / 0.5848 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000137/0.7241, allocations: 155.5 kB / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002893/0.7243, allocations: 0.5271 MB / 0.5855 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.7244, allocations: 93 kB / 0.5856 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.7244, allocations: 0 / 0.5856 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.7245, allocations: 4 kB / 0.5856 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.7246, allocations: 7.984 kB / 0.5856 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.7246, allocations: 3.938 kB / 0.5856 GB, free: 2.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.854e-05/0.7247, allocations: 107.3 kB / 0.5857 GB, free: 2.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008744/0.7256, allocations: 19.94 kB / 0.5857 GB, free: 2.727 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.0006401/0.7262, allocations: 307.8 kB / 0.586 GB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.7263, allocations: 27.94 kB / 0.5861 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7263, allocations: 0 / 0.5861 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.7263, allocations: 16 kB / 0.5861 GB, free: 2.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.7266, allocations: 15.89 kB / 0.5861 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.7269, allocations: 99.67 kB / 0.5862 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.7273, allocations: 0.7153 MB / 0.5869 GB, free: 1.57 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7273, allocations: 0 / 0.5869 GB, free: 1.57 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1)