Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.001129/0.001129, allocations: 178.4 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.344/1.344, allocations: 221.4 MB / 230.3 MB, free: 7.664 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.001005/0.001005, allocations: 93.66 kB / 281.2 MB, free: 5.48 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.2097/0.2097, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2608/0.4706, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.6095, allocations: 61.91 MB / 0.4942 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.9827, allocations: 87.35 MB / 0.5795 GB, free: 9.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.9831, allocations: 74.86 kB / 0.5795 GB, free: 9.367 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01199/0.9951, allocations: 4.301 MB / 0.5837 GB, free: 5.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.9952, allocations: 15.94 kB / 0.5838 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.9952, allocations: 7.906 kB / 0.5838 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.9956, allocations: 206.7 kB / 0.584 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.9956, allocations: 0 / 0.584 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.9956, allocations: 4 kB / 0.584 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.145e-05/0.9957, allocations: 19.98 kB / 0.584 GB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.9958, allocations: 45.69 kB / 0.584 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.9958, allocations: 0 / 0.584 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.9958, allocations: 7.938 kB / 0.584 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9958, allocations: 0 / 0.584 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.9963, allocations: 281.3 kB / 0.5843 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.749e-05/0.9964, allocations: 33.7 kB / 0.5843 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.9964, allocations: 20.8 kB / 0.5844 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.9965, allocations: 0 / 0.5844 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.9965, allocations: 30.56 kB / 0.5844 GB, free: 4.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.9965, allocations: 0 / 0.5844 GB, free: 4.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006178/0.9971, allocations: 161.3 kB / 0.5845 GB, free: 4.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.9972, allocations: 59.41 kB / 0.5846 GB, free: 4.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.9974, allocations: 173.4 kB / 0.5848 GB, free: 3.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.9974, allocations: 25.7 kB / 0.5848 GB, free: 3.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.9975, allocations: 96.03 kB / 0.5849 GB, free: 3.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.9975, allocations: 27.64 kB / 0.5849 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.9975, allocations: 0 / 0.5849 GB, free: 3.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.9977, allocations: 326.7 kB / 0.5852 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.9977, allocations: 20 kB / 0.5852 GB, free: 3.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.9978, allocations: 24.75 kB / 0.5853 GB, free: 3.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.9978, allocations: 27.92 kB / 0.5853 GB, free: 3.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.9978, allocations: 0 / 0.5853 GB, free: 3.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001571/0.998, allocations: 85.58 kB / 0.5854 GB, free: 3.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.998, allocations: 4 kB / 0.5854 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9981, allocations: 0 / 0.5854 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9981, allocations: 4 kB / 0.5854 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.9982, allocations: 19.98 kB / 0.5854 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9982, allocations: 4.25 kB / 0.5854 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.9983, allocations: 15.91 kB / 0.5854 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.9983, allocations: 8 kB / 0.5854 GB, free: 3.176 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 (8): * Single equations (assignments): 8 * 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 7.399e-05/0.9984, allocations: 101 kB / 0.5855 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.9984, allocations: 11.81 kB / 0.5855 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.9987, allocations: 118.1 kB / 0.5856 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.9987, allocations: 0 / 0.5856 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9987, allocations: 7.984 kB / 0.5857 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9987, allocations: 0 / 0.5857 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.9992, allocations: 379.8 kB / 0.586 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9992, allocations: 0 / 0.586 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.9993, allocations: 19.98 kB / 0.586 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9993, allocations: 3.938 kB / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.9993, allocations: 4.031 kB / 0.586 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.9993, allocations: 0 / 0.586 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9993, allocations: 4 kB / 0.586 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002067/0.9995, allocations: 205.8 kB / 0.5862 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003109/0.9998, allocations: 0.5767 MB / 0.5868 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/1, allocations: 92.91 kB / 0.5869 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/1, allocations: 4 kB / 0.5869 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/1, allocations: 4 kB / 0.5869 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/1, allocations: 15.98 kB / 0.5869 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1, allocations: 0 / 0.5869 GB, free: 1.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001251/1, allocations: 148.1 kB / 0.5871 GB, free: 1.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000931/1.001, allocations: 35.83 kB / 0.5871 GB, free: 1.332 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008511/1.002, allocations: 346.8 kB / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/1.002, allocations: 48 kB / 0.5875 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.002, allocations: 0 / 0.5875 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/1.002, allocations: 39.91 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/1.003, allocations: 11.98 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/1.003, allocations: 176.5 kB / 0.5877 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000603/1.004, allocations: 0.7349 MB / 0.5884 GB, free: 16 kB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/1.004, allocations: 3.938 kB / 0.5884 GB, free: 12 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat does not exist to compare? outputFormat=mat