Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.001161/0.001161, allocations: 189.7 kB / 8.522 MB, free: 1.738 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.293/1.293, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.001002/0.001002, allocations: 93.91 kB / 281.2 MB, free: 5.52 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.211/0.211, allocations: 44.16 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3007/0.5118, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.6626, allocations: 61.9 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/1.054, allocations: 87.24 MB / 0.5794 GB, free: 9.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.055, allocations: 74.94 kB / 0.5794 GB, free: 9.469 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.01192/1.067, allocations: 4.28 MB / 0.5836 GB, free: 5.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.067, allocations: 15.94 kB / 0.5836 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/1.067, allocations: 7.906 kB / 0.5836 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/1.067, allocations: 210.7 kB / 0.5838 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.067, allocations: 0 / 0.5838 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/1.067, allocations: 4 kB / 0.5838 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.043e-05/1.067, allocations: 16 kB / 0.5839 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.1e-05/1.067, allocations: 49.62 kB / 0.5839 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.067, allocations: 0 / 0.5839 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.067, allocations: 0 / 0.5839 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/1.067, allocations: 4 kB / 0.5839 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/1.068, allocations: 273.3 kB / 0.5842 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/1.068, allocations: 29.66 kB / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/1.068, allocations: 16.84 kB / 0.5842 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/1.068, allocations: 0 / 0.5842 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.068, allocations: 42.64 kB / 0.5843 GB, free: 4.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/1.068, allocations: 3.938 kB / 0.5843 GB, free: 4.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005575/1.069, allocations: 133.3 kB / 0.5844 GB, free: 4.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/1.069, allocations: 55.41 kB / 0.5844 GB, free: 4.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/1.069, allocations: 173.4 kB / 0.5846 GB, free: 4.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/1.069, allocations: 29.7 kB / 0.5846 GB, free: 3.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/1.069, allocations: 96.03 kB / 0.5847 GB, free: 3.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/1.069, allocations: 23.66 kB / 0.5848 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/1.069, allocations: 0 / 0.5848 GB, free: 3.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/1.069, allocations: 326.7 kB / 0.5851 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/1.069, allocations: 16 kB / 0.5851 GB, free: 3.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/1.069, allocations: 15.94 kB / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/1.069, allocations: 15.98 kB / 0.5851 GB, free: 3.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/1.069, allocations: 0.75 kB / 0.5851 GB, free: 3.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001327/1.069, allocations: 81.59 kB / 0.5852 GB, free: 3.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.069, allocations: 4 kB / 0.5852 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.069, allocations: 0 / 0.5852 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.069, allocations: 0 / 0.5852 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/1.07, allocations: 19.98 kB / 0.5852 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.07, allocations: 4 kB / 0.5852 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/1.07, allocations: 11.91 kB / 0.5852 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.07, allocations: 3.938 kB / 0.5852 GB, free: 3.355 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 8.453e-05/1.07, allocations: 112.9 kB / 0.5853 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/1.07, allocations: 11.81 kB / 0.5853 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/1.07, allocations: 98.44 kB / 0.5854 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.07, allocations: 4 kB / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.07, allocations: 0 / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.07, allocations: 0 / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/1.071, allocations: 367.8 kB / 0.5858 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.071, allocations: 0 / 0.5858 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/1.071, allocations: 23.92 kB / 0.5858 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.071, allocations: 0 / 0.5858 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/1.071, allocations: 4 kB / 0.5858 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.071, allocations: 0 / 0.5858 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.071, allocations: 32 / 0.5858 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002279/1.071, allocations: 197.9 kB / 0.586 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003403/1.071, allocations: 0.5648 MB / 0.5866 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/1.071, allocations: 92.92 kB / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/1.071, allocations: 0 / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/1.071, allocations: 11.98 kB / 0.5867 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/1.072, allocations: 0 / 0.5867 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/1.072, allocations: 8 kB / 0.5867 GB, free: 1.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001308/1.072, allocations: 148.1 kB / 0.5868 GB, free: 1.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008866/1.073, allocations: 39.83 kB / 0.5869 GB, free: 1.559 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.0007599/1.073, allocations: 342.3 kB / 0.5872 GB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/1.073, allocations: 44 kB / 0.5872 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.073, allocations: 0 / 0.5872 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/1.074, allocations: 31.92 kB / 0.5873 GB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/1.074, allocations: 11.3 kB / 0.5873 GB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/1.074, allocations: 176.4 kB / 0.5874 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/1.075, allocations: 0.727 MB / 0.5881 GB, free: 280 kB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/1.075, allocations: 4.062 kB / 0.5881 GB, free: 276 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat does not exist to compare? outputFormat=mat