Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.001549/0.001549, allocations: 179.1 kB / 8.519 MB, free: 1.82 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.299/1.299, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.000851/0.0008513, allocations: 83.36 kB / 281.2 MB, free: 5.531 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.1896/0.1896, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2609/0.4506, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.5881, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.918, allocations: 87.24 MB / 0.5794 GB, free: 9.527 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.9182, allocations: 76.17 kB / 0.5794 GB, free: 9.469 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.009777/0.928, allocations: 3.753 MB / 0.5831 GB, free: 5.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.9281, allocations: 11.94 kB / 0.5831 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.9281, allocations: 7.906 kB / 0.5831 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.9284, allocations: 196.6 kB / 0.5833 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.9284, allocations: 0 / 0.5833 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.9284, allocations: 0 / 0.5833 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.333e-05/0.9285, allocations: 15.94 kB / 0.5833 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.9286, allocations: 41.69 kB / 0.5834 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.9286, allocations: 0 / 0.5834 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.9286, allocations: 0 / 0.5834 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9286, allocations: 4 kB / 0.5834 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.929, allocations: 261.4 kB / 0.5836 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.9292, allocations: 37.64 kB / 0.5837 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.9292, allocations: 12.86 kB / 0.5837 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.9293, allocations: 0 / 0.5837 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.9293, allocations: 38.41 kB / 0.5837 GB, free: 4.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9293, allocations: 4 kB / 0.5837 GB, free: 4.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004056/0.9297, allocations: 117.4 kB / 0.5838 GB, free: 4.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.9297, allocations: 55.34 kB / 0.5839 GB, free: 4.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.9299, allocations: 135.5 kB / 0.584 GB, free: 4.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.9299, allocations: 29.7 kB / 0.584 GB, free: 4.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.9299, allocations: 84.14 kB / 0.5841 GB, free: 4.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.93, allocations: 27.73 kB / 0.5841 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.93, allocations: 0 / 0.5841 GB, free: 4.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.9301, allocations: 310.8 kB / 0.5844 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.9301, allocations: 12 kB / 0.5845 GB, free: 4.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.9302, allocations: 19.92 kB / 0.5845 GB, free: 4.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.241e-05/0.9302, allocations: 19.91 kB / 0.5845 GB, free: 4.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.9302, allocations: 0 / 0.5845 GB, free: 4.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001057/0.9303, allocations: 61.59 kB / 0.5845 GB, free: 4.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.9303, allocations: 8 kB / 0.5846 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.9303, allocations: 4 kB / 0.5846 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9304, allocations: 0 / 0.5846 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.9304, allocations: 15.98 kB / 0.5846 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.9305, allocations: 0 / 0.5846 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.9305, allocations: 7.984 kB / 0.5846 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.9305, allocations: 4 kB / 0.5846 GB, free: 4.02 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 6.817e-05/0.9306, allocations: 105 kB / 0.5847 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.9306, allocations: 11.81 kB / 0.5847 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.9308, allocations: 77.8 kB / 0.5848 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.9308, allocations: 0 / 0.5848 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9308, allocations: 0 / 0.5848 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9308, allocations: 0 / 0.5848 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.9311, allocations: 311.1 kB / 0.5851 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9311, allocations: 0 / 0.5851 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.9312, allocations: 23.92 kB / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9312, allocations: 0 / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.9313, allocations: 4.375 kB / 0.5851 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9313, allocations: 0 / 0.5851 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9313, allocations: 0 / 0.5851 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001262/0.9314, allocations: 163.5 kB / 0.5853 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002354/0.9316, allocations: 0.5427 MB / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.9317, allocations: 85.02 kB / 0.5859 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.9317, allocations: 3.938 kB / 0.5859 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.9318, allocations: 15.92 kB / 0.5859 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.9319, allocations: 144 / 0.5859 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.9319, allocations: 8 kB / 0.5859 GB, free: 2.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.034e-05/0.932, allocations: 117.6 kB / 0.586 GB, free: 2.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007905/0.9328, allocations: 23.91 kB / 0.586 GB, free: 2.438 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.000619/0.9334, allocations: 299.2 kB / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.844e-05/0.9335, allocations: 28 kB / 0.5863 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9335, allocations: 0 / 0.5863 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.9335, allocations: 23.94 kB / 0.5864 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.9338, allocations: 15.98 kB / 0.5864 GB, free: 2.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.9341, allocations: 119.6 kB / 0.5865 GB, free: 2.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.9344, allocations: 0.7114 MB / 0.5872 GB, free: 1.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9344, allocations: 0 / 0.5872 GB, free: 1.266 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1)