Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001112/0.001113, allocations: 178.8 kB / 8.517 MB, free: 1.855 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.343/1.343, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.001042/0.001042, allocations: 85.86 kB / 281.2 MB, free: 5.426 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.1971/0.1971, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2595/0.4567, allocations: 68.04 MB / 444.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.6053, allocations: 61.91 MB / 0.4942 GB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.9513, allocations: 87.14 MB / 0.5793 GB, free: 9.617 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.9516, allocations: 72.7 kB / 0.5793 GB, free: 9.547 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.009686/0.9613, allocations: 3.763 MB / 0.583 GB, free: 5.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.9613, allocations: 15.88 kB / 0.583 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.9613, allocations: 7.906 kB / 0.583 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.9616, allocations: 194.9 kB / 0.5832 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.9616, allocations: 0 / 0.5832 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.9616, allocations: 8 kB / 0.5832 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.187e-05/0.9617, allocations: 15.98 kB / 0.5832 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.412e-05/0.9617, allocations: 37.7 kB / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9617, allocations: 0 / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.9618, allocations: 3.906 kB / 0.5833 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.9618, allocations: 4 kB / 0.5833 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.9621, allocations: 253.5 kB / 0.5835 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.9622, allocations: 37.61 kB / 0.5836 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.9623, allocations: 8.859 kB / 0.5836 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.9623, allocations: 0 / 0.5836 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.9623, allocations: 34.56 kB / 0.5836 GB, free: 5.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.9623, allocations: 0 / 0.5836 GB, free: 5.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003533/0.9627, allocations: 101.4 kB / 0.5837 GB, free: 4.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.9627, allocations: 51.41 kB / 0.5838 GB, free: 4.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.9629, allocations: 151.3 kB / 0.5839 GB, free: 4.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.9629, allocations: 25.7 kB / 0.5839 GB, free: 4.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.9629, allocations: 100 kB / 0.584 GB, free: 4.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.9629, allocations: 11.72 kB / 0.584 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.963, allocations: 0 / 0.584 GB, free: 4.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.9631, allocations: 322.8 kB / 0.5843 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.9631, allocations: 8 kB / 0.5843 GB, free: 4.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.9631, allocations: 16 kB / 0.5844 GB, free: 4.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.9631, allocations: 8 kB / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.9631, allocations: 0 / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.405e-05/0.9632, allocations: 61.59 kB / 0.5844 GB, free: 4.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.9633, allocations: 9.031 kB / 0.5844 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.9633, allocations: 0 / 0.5844 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.9633, allocations: 144 / 0.5844 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.9634, allocations: 15.98 kB / 0.5845 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9634, allocations: 4 kB / 0.5845 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.9634, allocations: 11.98 kB / 0.5845 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.9634, allocations: 0 / 0.5845 GB, free: 4.121 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 5.216e-05/0.9635, allocations: 104.9 kB / 0.5846 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.9635, allocations: 7.906 kB / 0.5846 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.9637, allocations: 73.84 kB / 0.5846 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9637, allocations: 8 kB / 0.5847 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.9637, allocations: 0 / 0.5847 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9637, allocations: 0 / 0.5847 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.964, allocations: 310.9 kB / 0.585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.964, allocations: 384 / 0.585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.9641, allocations: 19.98 kB / 0.585 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9641, allocations: 0 / 0.585 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.9641, allocations: 4 kB / 0.585 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9641, allocations: 4 kB / 0.585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9641, allocations: 0 / 0.585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001364/0.9643, allocations: 163.3 kB / 0.5851 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002232/0.9645, allocations: 0.5232 MB / 0.5856 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.9646, allocations: 89 kB / 0.5857 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.9646, allocations: 4 kB / 0.5857 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.9647, allocations: 12 kB / 0.5857 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.9647, allocations: 3.984 kB / 0.5857 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.9647, allocations: 7.938 kB / 0.5858 GB, free: 2.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.405e-05/0.9648, allocations: 117.8 kB / 0.5859 GB, free: 2.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008277/0.9657, allocations: 23.94 kB / 0.5859 GB, free: 2.555 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.0006326/0.9663, allocations: 302.5 kB / 0.5862 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.597e-05/0.9664, allocations: 28 kB / 0.5862 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.9664, allocations: 0 / 0.5862 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.9664, allocations: 12 kB / 0.5862 GB, free: 2.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.9667, allocations: 23.89 kB / 0.5862 GB, free: 2.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.9671, allocations: 127.5 kB / 0.5864 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.9674, allocations: 0.7114 MB / 0.5871 GB, free: 1.375 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9674, allocations: 0 / 0.5871 GB, free: 1.375 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1)