Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26",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.001075/0.001074, allocations: 182.3 kB / 8.52 MB, free: 1.742 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.352/1.352, 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.0009896/0.0009894, allocations: 93.83 kB / 281.2 MB, free: 5.465 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.2099/0.2099, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2627/0.4726, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.6117, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.9476, allocations: 87.24 MB / 0.5794 GB, free: 9.504 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.948, allocations: 75.95 kB / 0.5795 GB, free: 9.43 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.01157/0.9595, allocations: 4.274 MB / 0.5836 GB, free: 5.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9596, allocations: 15.94 kB / 0.5836 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.9596, allocations: 7.906 kB / 0.5836 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.9599, allocations: 206.7 kB / 0.5838 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.9599, allocations: 0 / 0.5838 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.9599, allocations: 4 kB / 0.5839 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.301e-05/0.96, allocations: 12 kB / 0.5839 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.9601, allocations: 45.69 kB / 0.5839 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.9602, allocations: 4 kB / 0.5839 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.9602, allocations: 0 / 0.5839 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.9602, allocations: 0 / 0.5839 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.9606, allocations: 277.2 kB / 0.5842 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.9606, allocations: 33.69 kB / 0.5842 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.9607, allocations: 20.8 kB / 0.5842 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.9607, allocations: 0 / 0.5842 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.9608, allocations: 30.56 kB / 0.5843 GB, free: 4.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.9608, allocations: 4 kB / 0.5843 GB, free: 4.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.9614, allocations: 145.3 kB / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.9614, allocations: 55.39 kB / 0.5845 GB, free: 4.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.9616, allocations: 173.4 kB / 0.5846 GB, free: 3.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.9617, allocations: 25.7 kB / 0.5846 GB, free: 3.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.9617, allocations: 96.03 kB / 0.5847 GB, free: 3.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.9618, allocations: 27.64 kB / 0.5848 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.9618, allocations: 0 / 0.5848 GB, free: 3.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9619, allocations: 326.7 kB / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.9619, allocations: 12 kB / 0.5851 GB, free: 3.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.962, allocations: 20.06 kB / 0.5851 GB, free: 3.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.9621, allocations: 16 kB / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9621, allocations: 0 / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001531/0.9622, allocations: 81.53 kB / 0.5852 GB, free: 3.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.9622, allocations: 4.75 kB / 0.5852 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9623, allocations: 0 / 0.5852 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.9623, allocations: 0 / 0.5852 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.9624, allocations: 19.98 kB / 0.5852 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.9624, allocations: 4 kB / 0.5852 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.9625, allocations: 15.89 kB / 0.5852 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.9625, allocations: 0 / 0.5852 GB, free: 3.324 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 5.814e-05/0.9625, allocations: 101 kB / 0.5853 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.9626, allocations: 19.75 kB / 0.5854 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.9628, allocations: 102.3 kB / 0.5854 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.9628, allocations: 8 kB / 0.5855 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9628, allocations: 0 / 0.5855 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9628, allocations: 0 / 0.5855 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.9632, allocations: 363.8 kB / 0.5858 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9632, allocations: 0 / 0.5858 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.9633, allocations: 19.98 kB / 0.5858 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9633, allocations: 7.969 kB / 0.5858 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.9633, allocations: 0 / 0.5858 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9633, allocations: 4 kB / 0.5858 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9633, allocations: 0 / 0.5858 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001678/0.9635, allocations: 197.9 kB / 0.586 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002467/0.9638, allocations: 0.5609 MB / 0.5866 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.9638, allocations: 100.9 kB / 0.5867 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.9639, allocations: 0 / 0.5867 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.9639, allocations: 4 kB / 0.5867 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.964, allocations: 11.98 kB / 0.5867 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.964, allocations: 4 kB / 0.5867 GB, free: 1.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001095/0.9641, allocations: 144.1 kB / 0.5868 GB, free: 1.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008191/0.9649, allocations: 31.84 kB / 0.5869 GB, free: 1.531 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.0007159/0.9657, allocations: 348.1 kB / 0.5872 GB, free: 1.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.9658, allocations: 39.98 kB / 0.5872 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9658, allocations: 4 kB / 0.5872 GB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.9659, allocations: 27.92 kB / 0.5873 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.9661, allocations: 8.812 kB / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.9665, allocations: 172.5 kB / 0.5874 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.9669, allocations: 0.7309 MB / 0.5881 GB, free: 252 kB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9669, allocations: 0 / 0.5881 GB, free: 252 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat