Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001088/0.001088, allocations: 187.6 kB / 7.805 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 2.036/2.036, 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.001024/0.001023, allocations: 95.67 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.1999/0.1999, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2098/0.4097, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.7076, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.8319, allocations: 86.41 MB / 0.5499 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.8322, allocations: 75.47 kB / 0.5499 GB, free: 12.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01185/0.8441, allocations: 4.463 MB / 0.5543 GB, free: 7.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.8441, allocations: 8 kB / 0.5543 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.8442, allocations: 11.81 kB / 0.5543 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.8444, allocations: 209 kB / 0.5545 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.8444, allocations: 0 / 0.5545 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.8445, allocations: 8 kB / 0.5545 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.382e-05/0.8445, allocations: 23.92 kB / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.8446, allocations: 49.59 kB / 0.5546 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.8446, allocations: 0 / 0.5546 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8447, allocations: 0 / 0.5546 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.8447, allocations: 3.984 kB / 0.5546 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.8451, allocations: 301.3 kB / 0.5549 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/0.8452, allocations: 42.5 kB / 0.5549 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.8452, allocations: 16.86 kB / 0.5549 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.8452, allocations: 0 / 0.5549 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.8453, allocations: 38.56 kB / 0.555 GB, free: 7.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.454e-06/0.8453, allocations: 0 / 0.555 GB, free: 7.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004719/0.8457, allocations: 165.2 kB / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.8458, allocations: 55.41 kB / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.846, allocations: 189.5 kB / 0.5554 GB, free: 6.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.846, allocations: 25.7 kB / 0.5554 GB, free: 6.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.8461, allocations: 100.1 kB / 0.5555 GB, free: 6.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.8461, allocations: 23.66 kB / 0.5555 GB, free: 6.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.8461, allocations: 0 / 0.5555 GB, free: 6.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8462, allocations: 326.7 kB / 0.5558 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.8463, allocations: 23.98 kB / 0.5558 GB, free: 6.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.8463, allocations: 12 kB / 0.5559 GB, free: 6.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.899e-05/0.8464, allocations: 27.98 kB / 0.5559 GB, free: 6.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.8464, allocations: 0 / 0.5559 GB, free: 6.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001248/0.8465, allocations: 85.59 kB / 0.556 GB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.8465, allocations: 7.938 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8465, allocations: 0 / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8466, allocations: 7.984 kB / 0.556 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.8467, allocations: 27.89 kB / 0.556 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8467, allocations: 4 kB / 0.556 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.8468, allocations: 11.98 kB / 0.556 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.8468, allocations: 4 kB / 0.556 GB, free: 5.988 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 (7): * Single equations (assignments): 7 * 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 8.364e-05/0.8469, allocations: 104.9 kB / 0.5561 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.847, allocations: 11.81 kB / 0.5561 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.8472, allocations: 115.3 kB / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8472, allocations: 0 / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8472, allocations: 0 / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8472, allocations: 0 / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.8476, allocations: 371 kB / 0.5566 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8476, allocations: 0 / 0.5566 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.8477, allocations: 27.98 kB / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8477, allocations: 0 / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.8477, allocations: 0 / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8477, allocations: 0 / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.8478, allocations: 3.984 kB / 0.5566 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001873/0.848, allocations: 183.3 kB / 0.5568 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003089/0.8483, allocations: 0.5622 MB / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.8483, allocations: 100.8 kB / 0.5574 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.8484, allocations: 0 / 0.5574 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.8485, allocations: 15.98 kB / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.8485, allocations: 7.984 kB / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.8486, allocations: 4 kB / 0.5575 GB, free: 4.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001299/0.8487, allocations: 151.2 kB / 0.5576 GB, free: 4.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008758/0.8496, allocations: 27.94 kB / 0.5576 GB, free: 4.215 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 (7): * Single equations (assignments): 7 * 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.0006427/0.8502, allocations: 306.7 kB / 0.5579 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.8504, allocations: 55.92 kB / 0.558 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8504, allocations: 4 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.8504, allocations: 31.98 kB / 0.558 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.8507, allocations: 15.77 kB / 0.558 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.8512, allocations: 191.5 kB / 0.5582 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.8515, allocations: 0.7309 MB / 0.5589 GB, free: 2.879 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8516, allocations: 0 / 0.5589 GB, free: 2.879 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1)