Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001477/0.001477, allocations: 187.4 kB / 7.807 MB, free: 2.488 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.33/1.33, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008421/0.0008423, allocations: 78.36 kB / 261.4 MB, free: 13.53 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.1959/0.1959, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2047/0.4007, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.6934, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.811, allocations: 87.98 MB / 0.5514 GB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.8112, allocations: 71.95 kB / 0.5515 GB, free: 10.86 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.02252/0.8338, allocations: 8.552 MB / 0.5598 GB, free: 2.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8338, allocations: 8 kB / 0.5598 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.834, allocations: 39.53 kB / 0.5599 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.8346, allocations: 337.1 kB / 0.5602 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.8346, allocations: 7.906 kB / 0.5602 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.8347, allocations: 4 kB / 0.5602 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.8348, allocations: 55.97 kB / 0.5602 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.8349, allocations: 69.67 kB / 0.5603 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.835, allocations: 0 / 0.5603 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.835, allocations: 3.938 kB / 0.5603 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.835, allocations: 8 kB / 0.5603 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.8357, allocations: 457 kB / 0.5608 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.8358, allocations: 70.48 kB / 0.5608 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.8359, allocations: 28.98 kB / 0.5609 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.8359, allocations: 4 kB / 0.5609 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.836, allocations: 30.81 kB / 0.5609 GB, free: 1.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.836, allocations: 0 / 0.5609 GB, free: 1.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002824/0.8362, allocations: 117.2 kB / 0.561 GB, free: 0.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.8363, allocations: 51.41 kB / 0.5611 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.8369, allocations: 477 kB / 0.5615 GB, free: 392 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.837, allocations: 29.7 kB / 0.5615 GB, free: 356 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.837, allocations: 136.3 kB / 0.5617 GB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.8371, allocations: 11.81 kB / 0.5617 GB, free: 200 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.8371, allocations: 0 / 0.5617 GB, free: 200 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8372, allocations: 350.7 kB / 0.562 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.8372, allocations: 23.98 kB / 0.562 GB, free: 15.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.8373, allocations: 23.94 kB / 0.5621 GB, free: 15.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.8373, allocations: 27.97 kB / 0.5621 GB, free: 15.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8373, allocations: 0 / 0.5621 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000165/0.8375, allocations: 121.4 kB / 0.5622 GB, free: 15.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.8375, allocations: 11.28 kB / 0.5622 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8375, allocations: 0 / 0.5622 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.8375, allocations: 0 / 0.5622 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.8376, allocations: 16 kB / 0.5622 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.8377, allocations: 0 / 0.5622 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.8377, allocations: 15.86 kB / 0.5622 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.8378, allocations: 4 kB / 0.5622 GB, free: 15.6 MB / 410.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 (6): * Single equations (assignments): 6 * 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 6.547e-05/0.8378, allocations: 114.3 kB / 0.5624 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.8379, allocations: 39.47 kB / 0.5624 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.8382, allocations: 141 kB / 0.5625 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.8382, allocations: 0 / 0.5625 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8382, allocations: 3.984 kB / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8382, allocations: 0 / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.8385, allocations: 278 kB / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8385, allocations: 0 / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.8386, allocations: 12 kB / 0.5628 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.8386, allocations: 4 kB / 0.5628 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.8386, allocations: 3.984 kB / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8386, allocations: 0 / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8386, allocations: 0 / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002025/0.8388, allocations: 218.9 kB / 0.563 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003114/0.8392, allocations: 0.5854 MB / 0.5636 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.8393, allocations: 148.6 kB / 0.5637 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.8394, allocations: 0 / 0.5637 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.8395, allocations: 4.188 kB / 0.5637 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.8395, allocations: 11.98 kB / 0.5637 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.8395, allocations: 0 / 0.5637 GB, free: 13.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003782/0.8399, allocations: 383.1 kB / 0.5641 GB, free: 13.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000895/0.8408, allocations: 55.84 kB / 0.5642 GB, free: 13.52 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0008172/0.8416, allocations: 435.6 kB / 0.5646 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.8418, allocations: 63.97 kB / 0.5646 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8418, allocations: 4 kB / 0.5646 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.8418, allocations: 27.94 kB / 0.5647 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.8423, allocations: 64.3 kB / 0.5647 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.8432, allocations: 484.5 kB / 0.5652 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.8437, allocations: 0.8408 MB / 0.566 GB, free: 11.61 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.8437, allocations: 0 / 0.566 GB, free: 11.61 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1)