Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001039/0.001039, allocations: 183.7 kB / 8.524 MB, free: 1.848 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.419/1.419, allocations: 221.4 MB / 230.3 MB, free: 7.742 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.0009947/0.000995, allocations: 80.73 kB / 281.2 MB, free: 5.477 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.2098/0.2098, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2653/0.4751, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.6174, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.9086, allocations: 87.14 MB / 0.5793 GB, free: 9.684 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.909, allocations: 75.95 kB / 0.5793 GB, free: 9.609 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.01091/0.9199, allocations: 3.754 MB / 0.583 GB, free: 5.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.92, allocations: 15.94 kB / 0.583 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.92, allocations: 7.906 kB / 0.583 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.9203, allocations: 198.8 kB / 0.5832 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.9204, allocations: 0 / 0.5832 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.9204, allocations: 4 kB / 0.5832 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.78e-05/0.9205, allocations: 12 kB / 0.5832 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.9206, allocations: 37.69 kB / 0.5833 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9206, allocations: 8 kB / 0.5833 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.9206, allocations: 3.906 kB / 0.5833 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9206, allocations: 0 / 0.5833 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.921, allocations: 257.5 kB / 0.5835 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.9212, allocations: 29.62 kB / 0.5836 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.9212, allocations: 8.859 kB / 0.5836 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.9213, allocations: 0 / 0.5836 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.9213, allocations: 38.64 kB / 0.5836 GB, free: 5.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.9213, allocations: 4 kB / 0.5836 GB, free: 5.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000427/0.9217, allocations: 97.33 kB / 0.5837 GB, free: 5.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.9218, allocations: 51.41 kB / 0.5838 GB, free: 4.953 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.922, allocations: 151.3 kB / 0.5839 GB, free: 4.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.922, allocations: 29.64 kB / 0.5839 GB, free: 4.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.922, allocations: 92.08 kB / 0.584 GB, free: 4.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.9221, allocations: 23.7 kB / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.9221, allocations: 0 / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.9223, allocations: 318.8 kB / 0.5843 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.9223, allocations: 4 kB / 0.5843 GB, free: 4.324 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.9223, allocations: 11.98 kB / 0.5844 GB, free: 4.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.9224, allocations: 12 kB / 0.5844 GB, free: 4.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.9224, allocations: 0.75 kB / 0.5844 GB, free: 4.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001232/0.9225, allocations: 61.59 kB / 0.5844 GB, free: 4.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9225, allocations: 4 kB / 0.5844 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.9226, allocations: 0 / 0.5844 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.9226, allocations: 4 kB / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.9227, allocations: 15.94 kB / 0.5844 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.9227, allocations: 0 / 0.5844 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.9228, allocations: 7.984 kB / 0.5845 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.9228, allocations: 11.92 kB / 0.5845 GB, free: 4.191 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 0.0001118/0.9229, allocations: 108.9 kB / 0.5846 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.923, allocations: 7.906 kB / 0.5846 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.9232, allocations: 69.86 kB / 0.5846 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.9232, allocations: 4 kB / 0.5846 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.9232, allocations: 0 / 0.5846 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.9233, allocations: 144 / 0.5846 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.9236, allocations: 315.4 kB / 0.585 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9237, allocations: 0 / 0.585 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.9237, allocations: 23.98 kB / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9237, allocations: 0 / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.9238, allocations: 0 / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9238, allocations: 0 / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9238, allocations: 0 / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001608/0.9239, allocations: 159.3 kB / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00028/0.9242, allocations: 0.531 MB / 0.5856 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.9243, allocations: 89.02 kB / 0.5857 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.9243, allocations: 0 / 0.5857 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.9244, allocations: 11.98 kB / 0.5857 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.9245, allocations: 3.938 kB / 0.5857 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.9246, allocations: 4 kB / 0.5857 GB, free: 2.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001027/0.9247, allocations: 125.7 kB / 0.5859 GB, free: 2.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009007/0.9256, allocations: 23.94 kB / 0.5859 GB, free: 2.625 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.0006947/0.9263, allocations: 296.6 kB / 0.5862 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.9264, allocations: 24 kB / 0.5862 GB, free: 2.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9264, allocations: 4 kB / 0.5862 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.9265, allocations: 12 kB / 0.5862 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.9267, allocations: 34.97 kB / 0.5862 GB, free: 2.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.9271, allocations: 123.5 kB / 0.5864 GB, free: 2.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.9275, allocations: 0.7114 MB / 0.5871 GB, free: 1.445 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.9275, allocations: 0 / 0.5871 GB, free: 1.445 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1)