Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.001623/0.001623, allocations: 179.3 kB / 8.518 MB, free: 1.824 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.577/1.577, allocations: 221.4 MB / 230.3 MB, free: 7.777 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.001019/0.001019, allocations: 83.25 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.1996/0.1996, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1699/0.3696, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.4522, allocations: 61.92 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.7061, allocations: 87.24 MB / 0.5794 GB, free: 9.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.7063, allocations: 79.61 kB / 0.5795 GB, free: 9.398 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.0107/0.717, allocations: 3.691 MB / 0.5831 GB, free: 5.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7171, allocations: 11.94 kB / 0.5831 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.7171, allocations: 7.906 kB / 0.5831 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.7174, allocations: 194.9 kB / 0.5833 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.7174, allocations: 4 kB / 0.5833 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.7174, allocations: 3.906 kB / 0.5833 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.34e-05/0.7175, allocations: 12 kB / 0.5833 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.071e-05/0.7175, allocations: 45.62 kB / 0.5833 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7176, allocations: 0 / 0.5833 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7176, allocations: 0 / 0.5833 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.7176, allocations: 7.984 kB / 0.5833 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.7179, allocations: 261.4 kB / 0.5836 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.7181, allocations: 29.7 kB / 0.5836 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.7181, allocations: 8.859 kB / 0.5836 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.7181, allocations: 8 kB / 0.5836 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.7182, allocations: 34.5 kB / 0.5837 GB, free: 4.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7182, allocations: 4 kB / 0.5837 GB, free: 4.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003679/0.7186, allocations: 101.5 kB / 0.5838 GB, free: 4.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.7186, allocations: 51.41 kB / 0.5838 GB, free: 4.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.7187, allocations: 129.2 kB / 0.5839 GB, free: 4.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.7187, allocations: 25.7 kB / 0.584 GB, free: 4.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.7188, allocations: 92.06 kB / 0.584 GB, free: 4.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.7188, allocations: 19.72 kB / 0.5841 GB, free: 4.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.7188, allocations: 4 kB / 0.5841 GB, free: 4.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.7189, allocations: 318.8 kB / 0.5844 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.7189, allocations: 12 kB / 0.5844 GB, free: 4.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.719, allocations: 11.94 kB / 0.5844 GB, free: 4.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.719, allocations: 20.17 kB / 0.5844 GB, free: 4.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.719, allocations: 0 / 0.5844 GB, free: 4.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.835e-05/0.7191, allocations: 66.44 kB / 0.5845 GB, free: 4.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.7191, allocations: 4 kB / 0.5845 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.7192, allocations: 4 kB / 0.5845 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.7192, allocations: 0 / 0.5845 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.7192, allocations: 15.98 kB / 0.5845 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7193, allocations: 4 kB / 0.5845 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.7193, allocations: 4 kB / 0.5845 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.7193, allocations: 0 / 0.5845 GB, free: 4.043 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.824e-05/0.7194, allocations: 108.9 kB / 0.5846 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.7194, allocations: 11.84 kB / 0.5846 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.7196, allocations: 81.78 kB / 0.5847 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7196, allocations: 4 kB / 0.5847 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7196, allocations: 0 / 0.5847 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7196, allocations: 3.984 kB / 0.5847 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.72, allocations: 311 kB / 0.585 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.72, allocations: 0 / 0.585 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.72, allocations: 19.94 kB / 0.585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.72, allocations: 0 / 0.585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.7201, allocations: 4 kB / 0.585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7201, allocations: 0 / 0.585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7201, allocations: 0 / 0.585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001333/0.7202, allocations: 167.6 kB / 0.5852 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002263/0.7204, allocations: 0.5349 MB / 0.5857 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.7205, allocations: 89 kB / 0.5858 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.7205, allocations: 3.938 kB / 0.5858 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.7206, allocations: 4 kB / 0.5858 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.7207, allocations: 7.984 kB / 0.5858 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.7207, allocations: 7.938 kB / 0.5858 GB, free: 2.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.59e-05/0.7207, allocations: 106.4 kB / 0.5859 GB, free: 2.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007968/0.7215, allocations: 23.94 kB / 0.5859 GB, free: 2.461 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.00063/0.7222, allocations: 290.8 kB / 0.5862 GB, free: 2.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.7223, allocations: 32 kB / 0.5862 GB, free: 2.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7223, allocations: 0 / 0.5862 GB, free: 2.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.7223, allocations: 24.19 kB / 0.5863 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.7226, allocations: 15.89 kB / 0.5863 GB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.7229, allocations: 111.8 kB / 0.5864 GB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.7232, allocations: 0.7114 MB / 0.5871 GB, free: 1.297 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7232, allocations: 0 / 0.5871 GB, free: 1.297 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1)