Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",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.001256/0.001256, allocations: 177.5 kB / 8.516 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.361/1.361, allocations: 221.4 MB / 230.3 MB, free: 7.836 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.001172/0.001172, allocations: 98.61 kB / 281.2 MB, free: 5.586 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.2121/0.2121, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2904/0.5025, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.6413, allocations: 61.9 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/1.016, allocations: 87.35 MB / 0.5795 GB, free: 9.375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.016, allocations: 78.98 kB / 0.5796 GB, free: 9.32 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01123/1.027, allocations: 4.358 MB / 0.5838 GB, free: 4.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.027, allocations: 11.94 kB / 0.5838 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/1.027, allocations: 7.906 kB / 0.5838 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/1.027, allocations: 198.9 kB / 0.584 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.027, allocations: 4 kB / 0.584 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/1.028, allocations: 7.906 kB / 0.584 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.974e-05/1.028, allocations: 27.98 kB / 0.5841 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/1.028, allocations: 57.61 kB / 0.5841 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.028, allocations: 4 kB / 0.5841 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.028, allocations: 0 / 0.5841 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.028, allocations: 0 / 0.5841 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/1.028, allocations: 293.2 kB / 0.5844 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/1.028, allocations: 49.64 kB / 0.5844 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/1.028, allocations: 21.61 kB / 0.5845 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/1.028, allocations: 0 / 0.5845 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/1.028, allocations: 34.56 kB / 0.5845 GB, free: 4.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/1.028, allocations: 0 / 0.5845 GB, free: 4.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005737/1.029, allocations: 197.3 kB / 0.5847 GB, free: 3.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/1.029, allocations: 55.41 kB / 0.5847 GB, free: 3.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.029, allocations: 135.4 kB / 0.5849 GB, free: 3.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/1.029, allocations: 25.7 kB / 0.5849 GB, free: 3.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/1.029, allocations: 96.06 kB / 0.585 GB, free: 3.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/1.029, allocations: 39.47 kB / 0.585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/1.029, allocations: 3.938 kB / 0.585 GB, free: 3.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.962e-05/1.029, allocations: 322.8 kB / 0.5853 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/1.029, allocations: 28 kB / 0.5854 GB, free: 3.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/1.029, allocations: 25.5 kB / 0.5854 GB, free: 3.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.772e-05/1.03, allocations: 31.98 kB / 0.5854 GB, free: 3.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/1.03, allocations: 0 / 0.5854 GB, free: 3.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001621/1.03, allocations: 106.2 kB / 0.5855 GB, free: 3.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.03, allocations: 8 kB / 0.5855 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.03, allocations: 0 / 0.5855 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.03, allocations: 0 / 0.5855 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/1.03, allocations: 35.91 kB / 0.5856 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/1.03, allocations: 0 / 0.5856 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/1.03, allocations: 8 kB / 0.5856 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/1.03, allocations: 4 kB / 0.5856 GB, free: 2.98 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 (13): * Single equations (assignments): 13 * 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.063e-05/1.03, allocations: 101 kB / 0.5857 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/1.03, allocations: 15.81 kB / 0.5857 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/1.03, allocations: 140.1 kB / 0.5858 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.03, allocations: 8 kB / 0.5858 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.03, allocations: 0 / 0.5858 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.03, allocations: 0 / 0.5858 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/1.031, allocations: 419.5 kB / 0.5862 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.031, allocations: 0 / 0.5862 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/1.031, allocations: 32.02 kB / 0.5862 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/1.031, allocations: 4 kB / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/1.031, allocations: 4 kB / 0.5863 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.031, allocations: 0 / 0.5863 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.031, allocations: 4 kB / 0.5863 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001996/1.031, allocations: 217.9 kB / 0.5865 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003031/1.032, allocations: 0.5941 MB / 0.587 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/1.032, allocations: 92.98 kB / 0.5871 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/1.032, allocations: 3.906 kB / 0.5871 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/1.032, allocations: 12 kB / 0.5872 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/1.032, allocations: 7.984 kB / 0.5872 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/1.032, allocations: 8 kB / 0.5872 GB, free: 1.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.224e-05/1.032, allocations: 108.2 kB / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008224/1.033, allocations: 35.92 kB / 0.5873 GB, free: 1.066 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 (13): * Single equations (assignments): 13 * 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.0006877/1.033, allocations: 336.7 kB / 0.5876 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/1.034, allocations: 75.88 kB / 0.5877 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.034, allocations: 4 kB / 0.5877 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.36e-05/1.034, allocations: 35.94 kB / 0.5877 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/1.034, allocations: 23.88 kB / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/1.034, allocations: 164.1 kB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/1.035, allocations: 0.7347 MB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/1.035, allocations: 0 / 0.5886 GB, free: 15.73 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat