Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.001409/0.001409, allocations: 183.8 kB / 8.518 MB, free: 496 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 221.4 MB / 230.3 MB, free: 13.56 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 96.56 kB / 281.2 MB, free: 10.59 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2943/0.2943, allocations: 44.14 MB / 376.1 MB, free: 11.75 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2295/0.5239, allocations: 68.03 MB / 444.1 MB, free: 54.32 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.6511, allocations: 61.9 MB / 0.4942 GB, free: 8.344 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/1.038, allocations: 87.97 MB / 0.5801 GB, free: 10.74 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.039, allocations: 75.95 kB / 0.5801 GB, free: 10.67 MB / 402.8 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.02607/1.065, allocations: 6.51 MB / 0.5865 GB, free: 4.129 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.065, allocations: 11.94 kB / 0.5865 GB, free: 4.117 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/1.065, allocations: 11.91 kB / 0.5865 GB, free: 4.105 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/1.065, allocations: 198.8 kB / 0.5867 GB, free: 3.871 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/1.065, allocations: 3.906 kB / 0.5867 GB, free: 3.867 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/1.065, allocations: 8 kB / 0.5867 GB, free: 3.859 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.798e-05/1.066, allocations: 12 kB / 0.5867 GB, free: 3.848 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/1.066, allocations: 55.41 kB / 0.5868 GB, free: 3.781 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.066, allocations: 3.984 kB / 0.5868 GB, free: 3.777 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/1.066, allocations: 3.938 kB / 0.5868 GB, free: 3.773 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/1.066, allocations: 4 kB / 0.5868 GB, free: 3.77 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/1.066, allocations: 269.3 kB / 0.5871 GB, free: 3.469 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/1.066, allocations: 26.58 kB / 0.5871 GB, free: 3.434 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/1.067, allocations: 16.86 kB / 0.5871 GB, free: 3.414 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/1.067, allocations: 96 / 0.5871 GB, free: 3.414 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.067, allocations: 34.55 kB / 0.5871 GB, free: 3.371 MB / 402.8 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/1.067, allocations: 0 / 0.5871 GB, free: 3.371 MB / 402.8 MB Notification: Performance of matching and sorting (n=7): time 0.0006801/1.067, allocations: 141.3 kB / 0.5873 GB, free: 3.227 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/1.067, allocations: 81.11 kB / 0.5873 GB, free: 3.129 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/1.068, allocations: 125.2 kB / 0.5875 GB, free: 2.996 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/1.068, allocations: 25.7 kB / 0.5875 GB, free: 2.965 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/1.068, allocations: 96.12 kB / 0.5876 GB, free: 2.867 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/1.068, allocations: 15.72 kB / 0.5876 GB, free: 2.852 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/1.068, allocations: 0 / 0.5876 GB, free: 2.852 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001684/1.068, allocations: 318.8 kB / 0.5879 GB, free: 2.531 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/1.068, allocations: 12 kB / 0.5879 GB, free: 2.52 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/1.068, allocations: 29.72 kB / 0.5879 GB, free: 2.484 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/1.068, allocations: 11.98 kB / 0.588 GB, free: 2.473 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.068, allocations: 11.94 kB / 0.588 GB, free: 2.461 MB / 402.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002046/1.068, allocations: 73.77 kB / 0.588 GB, free: 2.383 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.068, allocations: 10.17 kB / 0.588 GB, free: 2.375 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.068, allocations: 3.938 kB / 0.588 GB, free: 2.371 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.068, allocations: 4 kB / 0.5881 GB, free: 2.367 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.069, allocations: 19.98 kB / 0.5881 GB, free: 2.348 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.069, allocations: 0 / 0.5881 GB, free: 2.348 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/1.069, allocations: 23.92 kB / 0.5881 GB, free: 2.324 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/1.069, allocations: 4 kB / 0.5881 GB, free: 2.32 MB / 402.8 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 (7): * Single equations (assignments): 7 * 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 0.0001012/1.069, allocations: 101.9 kB / 0.5882 GB, free: 2.215 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/1.069, allocations: 7.906 kB / 0.5882 GB, free: 2.207 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/1.069, allocations: 98 kB / 0.5883 GB, free: 2.105 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.069, allocations: 0 / 0.5883 GB, free: 2.105 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.069, allocations: 0 / 0.5883 GB, free: 2.105 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.069, allocations: 0 / 0.5883 GB, free: 2.105 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/1.07, allocations: 319 kB / 0.5886 GB, free: 1.75 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.07, allocations: 0 / 0.5886 GB, free: 1.75 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.07, allocations: 35.92 kB / 0.5886 GB, free: 1.715 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.07, allocations: 0 / 0.5886 GB, free: 1.715 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/1.07, allocations: 4 kB / 0.5886 GB, free: 1.711 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.07, allocations: 3.984 kB / 0.5886 GB, free: 1.707 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.07, allocations: 0 / 0.5886 GB, free: 1.707 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002302/1.07, allocations: 167.4 kB / 0.5888 GB, free: 1.527 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003792/1.071, allocations: 0.5471 MB / 0.5893 GB, free: 0.9609 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/1.071, allocations: 93 kB / 0.5894 GB, free: 0.8516 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/1.071, allocations: 4 kB / 0.5894 GB, free: 0.8477 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/1.071, allocations: 19.92 kB / 0.5894 GB, free: 0.8281 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/1.071, allocations: 0 / 0.5894 GB, free: 0.8281 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/1.071, allocations: 8 kB / 0.5895 GB, free: 0.8203 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001414/1.071, allocations: 110.5 kB / 0.5896 GB, free: 0.7148 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.001648/1.073, allocations: 39.89 kB / 0.5896 GB, free: 0.6758 MB / 402.8 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 (7): * Single equations (assignments): 7 * 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.001196/1.074, allocations: 330.9 kB / 0.5899 GB, free: 444 kB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001936/1.074, allocations: 47.92 kB / 0.59 GB, free: 396 kB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.074, allocations: 0 / 0.59 GB, free: 396 kB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/1.074, allocations: 20 kB / 0.59 GB, free: 376 kB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/1.075, allocations: 11.98 kB / 0.59 GB, free: 364 kB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/1.075, allocations: 111.4 kB / 0.5901 GB, free: 228 kB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/1.076, allocations: 0.7231 MB / 0.5908 GB, free: 15.47 MB / 418.8 MB Notification: Performance of SimCode: time 4.498e-06/1.076, allocations: 0 / 0.5908 GB, free: 15.47 MB / 418.8 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat does not exist to compare? outputFormat=mat