Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",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 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 188.5 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 87.17 kB / 261.4 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1941/0.1941, allocations: 43.49 MB / 352.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2101/0.4042, allocations: 64.97 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.6785, allocations: 58.84 MB / 476.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.8027, allocations: 86.32 MB / 0.5498 GB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.803, allocations: 71.45 kB / 0.5498 GB, free: 12.66 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.01854/0.8216, allocations: 6.35 MB / 0.556 GB, free: 6.262 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8217, allocations: 12 kB / 0.5561 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.8217, allocations: 11.81 kB / 0.5561 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.8219, allocations: 194.8 kB / 0.5563 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.822, allocations: 0 / 0.5563 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.822, allocations: 4 kB / 0.5563 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.179e-05/0.8221, allocations: 16 kB / 0.5563 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.8222, allocations: 63.33 kB / 0.5563 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.8222, allocations: 0 / 0.5563 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.8222, allocations: 0 / 0.5563 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8222, allocations: 4 kB / 0.5563 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.8226, allocations: 261.4 kB / 0.5566 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.8227, allocations: 30.58 kB / 0.5566 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.8227, allocations: 12.86 kB / 0.5566 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.8228, allocations: 7.938 kB / 0.5566 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.8228, allocations: 38.47 kB / 0.5567 GB, free: 5.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.8228, allocations: 0 / 0.5567 GB, free: 5.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004862/0.8233, allocations: 129.5 kB / 0.5568 GB, free: 5.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.8234, allocations: 81.11 kB / 0.5569 GB, free: 5.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.8235, allocations: 129.2 kB / 0.557 GB, free: 5.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.8235, allocations: 25.7 kB / 0.557 GB, free: 5.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.8236, allocations: 80.14 kB / 0.5571 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.8236, allocations: 23.7 kB / 0.5571 GB, free: 5.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.8236, allocations: 0 / 0.5571 GB, free: 5.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8237, allocations: 326.7 kB / 0.5574 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.8238, allocations: 15.94 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.8238, allocations: 33.78 kB / 0.5575 GB, free: 4.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.8238, allocations: 12 kB / 0.5575 GB, free: 4.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.8238, allocations: 0 / 0.5575 GB, free: 4.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001215/0.824, allocations: 73.59 kB / 0.5576 GB, free: 4.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.824, allocations: 4 kB / 0.5576 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.824, allocations: 4.141 kB / 0.5576 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.824, allocations: 0 / 0.5576 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.8242, allocations: 32 kB / 0.5576 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8242, allocations: 0 / 0.5576 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.697e-05/0.8243, allocations: 19.92 kB / 0.5576 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.8243, allocations: 0 / 0.5576 GB, free: 4.473 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 (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 6.716e-05/0.8243, allocations: 117.8 kB / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.8244, allocations: 15.75 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.8246, allocations: 86.41 kB / 0.5578 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.8246, allocations: 4 kB / 0.5578 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8246, allocations: 3.984 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8246, allocations: 0 / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.8249, allocations: 327 kB / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8249, allocations: 0 / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.8251, allocations: 27.98 kB / 0.5582 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8251, allocations: 0 / 0.5582 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.8251, allocations: 0 / 0.5582 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8251, allocations: 0 / 0.5582 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8251, allocations: 0 / 0.5582 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001506/0.8252, allocations: 171.5 kB / 0.5583 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002887/0.8255, allocations: 0.5505 MB / 0.5589 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.8256, allocations: 85.02 kB / 0.559 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.8256, allocations: 4 kB / 0.559 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.8257, allocations: 15.98 kB / 0.559 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.8258, allocations: 7.984 kB / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.8258, allocations: 0 / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.185e-05/0.8259, allocations: 106.1 kB / 0.5591 GB, free: 2.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008666/0.8268, allocations: 39.91 kB / 0.5591 GB, free: 2.824 MB / 394.7 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.0006818/0.8274, allocations: 341.7 kB / 0.5594 GB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.8276, allocations: 43.92 kB / 0.5595 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8276, allocations: 0 / 0.5595 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.8276, allocations: 24 kB / 0.5595 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.8278, allocations: 11.86 kB / 0.5595 GB, free: 2.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.8282, allocations: 123.3 kB / 0.5596 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.8285, allocations: 0.7153 MB / 0.5603 GB, free: 1.562 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.8285, allocations: 0 / 0.5603 GB, free: 1.562 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat does not exist to compare? outputFormat=mat