Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",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 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 185.7 kB / 7.8 MB, free: 2.281 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 92.2 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1859/0.1859, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1957/0.3817, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.6567, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.7788, allocations: 85.44 MB / 0.5489 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.7791, allocations: 79.45 kB / 0.549 GB, free: 13.38 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01182/0.7909, allocations: 4.505 MB / 0.5534 GB, free: 8.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.791, allocations: 8 kB / 0.5534 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.791, allocations: 11.91 kB / 0.5534 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.7912, allocations: 175 kB / 0.5536 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.7912, allocations: 4 kB / 0.5536 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.7912, allocations: 4 kB / 0.5536 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.941e-05/0.7913, allocations: 39.83 kB / 0.5536 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.7915, allocations: 182.7 kB / 0.5538 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7916, allocations: 0 / 0.5538 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7916, allocations: 7.938 kB / 0.5538 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.7916, allocations: 12 kB / 0.5538 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.7927, allocations: 1.671 MB / 0.5555 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.7928, allocations: 177 kB / 0.5556 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.7928, allocations: 80.14 kB / 0.5557 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.7928, allocations: 83.31 kB / 0.5558 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.7929, allocations: 113.8 kB / 0.5559 GB, free: 6.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.7929, allocations: 0 / 0.5559 GB, free: 6.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.21e-05/0.793, allocations: 33.61 kB / 0.5559 GB, free: 6.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.793, allocations: 51.41 kB / 0.556 GB, free: 5.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.7932, allocations: 164.1 kB / 0.5561 GB, free: 5.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.7932, allocations: 25.7 kB / 0.5561 GB, free: 5.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.7933, allocations: 151.1 kB / 0.5563 GB, free: 5.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.7933, allocations: 4 kB / 0.5563 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.7933, allocations: 0 / 0.5563 GB, free: 5.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7934, allocations: 322.8 kB / 0.5566 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.7935, allocations: 32.27 kB / 0.5566 GB, free: 5.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.7936, allocations: 149.1 kB / 0.5568 GB, free: 5.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.7937, allocations: 67.91 kB / 0.5568 GB, free: 4.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7937, allocations: 0 / 0.5568 GB, free: 4.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002571/0.794, allocations: 161.8 kB / 0.557 GB, free: 4.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.794, allocations: 8 kB / 0.557 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.794, allocations: 4 kB / 0.557 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.794, allocations: 4 kB / 0.557 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.7942, allocations: 43.91 kB / 0.5571 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.7942, allocations: 7.938 kB / 0.5571 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.7943, allocations: 19.75 kB / 0.5571 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.7943, allocations: 16 kB / 0.5571 GB, free: 4.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.845e-05/0.7944, allocations: 189.5 kB / 0.5573 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.7945, allocations: 112.9 kB / 0.5574 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.7946, allocations: 124.5 kB / 0.5575 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/0.7946, allocations: 176.3 kB / 0.5577 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.925e-05/0.7947, allocations: 176.3 kB / 0.5578 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.521e-05/0.7948, allocations: 186 kB / 0.558 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.795, allocations: 405.8 kB / 0.5584 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/0.7951, allocations: 105 kB / 0.5585 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.7951, allocations: 108.9 kB / 0.5586 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.917e-05/0.7952, allocations: 184.2 kB / 0.5588 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.722e-05/0.7953, allocations: 176.3 kB / 0.5589 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.45e-05/0.7954, allocations: 180.2 kB / 0.5591 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.677e-05/0.7954, allocations: 188.3 kB / 0.5593 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001491/0.7956, allocations: 311.7 kB / 0.5596 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002833/0.7959, allocations: 0.68 MB / 0.5603 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.796, allocations: 193.9 kB / 0.5604 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.7961, allocations: 184.2 kB / 0.5606 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.7962, allocations: 101 kB / 0.5607 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.7962, allocations: 184.2 kB / 0.5609 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.7963, allocations: 101 kB / 0.561 GB, free: 480 kB / 394.7 MB Notification: Performance of sort global known variables: time 9.879e-05/0.7964, allocations: 136.1 kB / 0.5611 GB, free: 344 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.00101/0.7974, allocations: 15.91 kB / 0.5611 GB, free: 328 kB / 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 (0): * Single equations (assignments): 0 * 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.0004439/0.7978, allocations: 239.9 kB / 0.5614 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.798, allocations: 63.8 kB / 0.5614 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.798, allocations: 0 / 0.5614 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.798, allocations: 5.25 kB / 0.5614 GB, free: 28 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.7983, allocations: 0.5263 MB / 0.5619 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.7987, allocations: 190.7 kB / 0.5621 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.7991, allocations: 0.7235 MB / 0.5628 GB, free: 14.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.7991, allocations: 0 / 0.5628 GB, free: 14.54 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1)