Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001252/0.001252, allocations: 174.6 kB / 8.517 MB, free: 1.844 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.305/1.305, allocations: 221.4 MB / 230.3 MB, free: 7.734 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.0009208/0.000921, allocations: 80.81 kB / 281.2 MB, free: 5.496 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.224/0.224, allocations: 44.15 MB / 376.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2763/0.5003, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.6449, allocations: 61.9 MB / 0.4942 GB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/1.046, allocations: 87.14 MB / 0.5793 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.046, allocations: 67.97 kB / 0.5793 GB, free: 9.676 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.01395/1.06, allocations: 3.726 MB / 0.583 GB, free: 5.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.06, allocations: 11.94 kB / 0.583 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/1.06, allocations: 11.89 kB / 0.583 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/1.061, allocations: 189.3 kB / 0.5832 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/1.061, allocations: 4 kB / 0.5832 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/1.061, allocations: 0 / 0.5832 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.21e-05/1.061, allocations: 15.98 kB / 0.5832 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/1.061, allocations: 37.7 kB / 0.5832 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.061, allocations: 0 / 0.5832 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.061, allocations: 0 / 0.5832 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/1.061, allocations: 3.984 kB / 0.5832 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/1.061, allocations: 253.4 kB / 0.5835 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/1.062, allocations: 29.7 kB / 0.5835 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/1.062, allocations: 16.86 kB / 0.5835 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/1.062, allocations: 0 / 0.5835 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.062, allocations: 34.47 kB / 0.5836 GB, free: 5.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.062, allocations: 0 / 0.5836 GB, free: 5.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004772/1.062, allocations: 105.4 kB / 0.5837 GB, free: 5.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/1.062, allocations: 51.41 kB / 0.5837 GB, free: 5.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/1.062, allocations: 141.1 kB / 0.5838 GB, free: 4.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.063, allocations: 25.7 kB / 0.5839 GB, free: 4.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/1.063, allocations: 88.14 kB / 0.5839 GB, free: 4.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/1.063, allocations: 15.73 kB / 0.584 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.063, allocations: 0 / 0.584 GB, free: 4.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/1.063, allocations: 318.8 kB / 0.5843 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/1.063, allocations: 8.844 kB / 0.5843 GB, free: 4.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/1.063, allocations: 15.98 kB / 0.5843 GB, free: 4.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/1.063, allocations: 15.91 kB / 0.5843 GB, free: 4.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/1.063, allocations: 0 / 0.5843 GB, free: 4.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/1.063, allocations: 57.59 kB / 0.5844 GB, free: 4.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.063, allocations: 4 kB / 0.5844 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.063, allocations: 0 / 0.5844 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.063, allocations: 0 / 0.5844 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.063, allocations: 15.94 kB / 0.5844 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.063, allocations: 3.938 kB / 0.5844 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/1.063, allocations: 15.98 kB / 0.5844 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/1.063, allocations: 4.391 kB / 0.5844 GB, free: 4.309 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 8.848e-05/1.063, allocations: 101 kB / 0.5845 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/1.063, allocations: 15.8 kB / 0.5845 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/1.064, allocations: 69.86 kB / 0.5846 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.064, allocations: 0 / 0.5846 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.064, allocations: 4 kB / 0.5846 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.064, allocations: 0 / 0.5846 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/1.064, allocations: 315 kB / 0.5849 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.064, allocations: 0 / 0.5849 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/1.064, allocations: 12 kB / 0.5849 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.064, allocations: 0 / 0.5849 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/1.064, allocations: 0 / 0.5849 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.064, allocations: 4 kB / 0.5849 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.064, allocations: 7.969 kB / 0.5849 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001686/1.065, allocations: 155.4 kB / 0.5851 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002951/1.065, allocations: 0.5271 MB / 0.5856 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/1.065, allocations: 89.02 kB / 0.5857 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/1.065, allocations: 0 / 0.5857 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.065, allocations: 19.92 kB / 0.5857 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/1.065, allocations: 0 / 0.5857 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/1.065, allocations: 4.25 kB / 0.5857 GB, free: 2.891 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.774e-05/1.065, allocations: 113.6 kB / 0.5858 GB, free: 2.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001357/1.067, allocations: 23.91 kB / 0.5858 GB, free: 2.758 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.0009269/1.068, allocations: 294 kB / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/1.068, allocations: 27.94 kB / 0.5861 GB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.068, allocations: 0 / 0.5861 GB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/1.068, allocations: 19.98 kB / 0.5861 GB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/1.068, allocations: 7.984 kB / 0.5861 GB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/1.069, allocations: 119.6 kB / 0.5863 GB, free: 2.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/1.069, allocations: 0.7075 MB / 0.5869 GB, free: 1.605 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/1.069, allocations: 4 kB / 0.587 GB, free: 1.602 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1)