Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",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.002027/0.002027, allocations: 186.2 kB / 7.799 MB, free: 2.277 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.422/1.422, 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.001012/0.001012, allocations: 92.27 kB / 261.4 MB, free: 13.56 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.2238/0.2238, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2418/0.4656, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.8009, allocations: 58.85 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.9273, allocations: 85.97 MB / 0.5494 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.9276, allocations: 75.95 kB / 0.5495 GB, free: 12.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01771/0.9453, allocations: 6.176 MB / 0.5555 GB, free: 6.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9453, allocations: 8 kB / 0.5556 GB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.9454, allocations: 11.91 kB / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.9457, allocations: 186.9 kB / 0.5557 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9457, allocations: 0 / 0.5557 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.9457, allocations: 4 kB / 0.5557 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8e-05/0.9458, allocations: 15.91 kB / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.9459, allocations: 51.41 kB / 0.5558 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9459, allocations: 4 kB / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.946, allocations: 0 / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.946, allocations: 4 kB / 0.5558 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.9464, allocations: 261.3 kB / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.9466, allocations: 37.72 kB / 0.5561 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.9466, allocations: 8.859 kB / 0.5561 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.9467, allocations: 3.984 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.9467, allocations: 38.64 kB / 0.5561 GB, free: 5.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9467, allocations: 0 / 0.5561 GB, free: 5.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004581/0.9472, allocations: 109.3 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.9472, allocations: 85.09 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.9474, allocations: 114.1 kB / 0.5564 GB, free: 5.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.9474, allocations: 25.7 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.9474, allocations: 92.12 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.9475, allocations: 11.75 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.9475, allocations: 0 / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9476, allocations: 322.8 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.9477, allocations: 12 kB / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.9477, allocations: 25.72 kB / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.9478, allocations: 19.98 kB / 0.5569 GB, free: 5.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9478, allocations: 3.906 kB / 0.5569 GB, free: 5.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000108/0.9479, allocations: 61.62 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9479, allocations: 4 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.9479, allocations: 7.844 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9479, allocations: 4 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.948, allocations: 20.02 kB / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.948, allocations: 0 / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.9481, allocations: 4 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.9481, allocations: 0 / 0.557 GB, free: 4.969 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 (5): * Single equations (assignments): 5 * 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 9.674e-05/0.9482, allocations: 113.8 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.9483, allocations: 7.906 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.9485, allocations: 93.84 kB / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.9485, allocations: 0 / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.9485, allocations: 0 / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9486, allocations: 3.906 kB / 0.5572 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.9491, allocations: 303.2 kB / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9491, allocations: 0 / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.9492, allocations: 15.98 kB / 0.5575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.9493, allocations: 0 / 0.5575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.9493, allocations: 4 kB / 0.5575 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.9493, allocations: 7.906 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9493, allocations: 0 / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/0.9496, allocations: 163.4 kB / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004541/0.95, allocations: 0.535 MB / 0.5582 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.9501, allocations: 81.02 kB / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.9502, allocations: 4 kB / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.9504, allocations: 7.984 kB / 0.5583 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.9505, allocations: 4 kB / 0.5583 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.9505, allocations: 4 kB / 0.5583 GB, free: 3.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001356/0.9506, allocations: 103.4 kB / 0.5584 GB, free: 3.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00203/0.9527, allocations: 31.89 kB / 0.5585 GB, free: 3.395 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 (5): * Single equations (assignments): 5 * 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.001559/0.9543, allocations: 344 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.9546, allocations: 32 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9546, allocations: 0 / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.9547, allocations: 23.94 kB / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.9552, allocations: 19.84 kB / 0.5589 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.9558, allocations: 91.81 kB / 0.5589 GB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.9564, allocations: 0.7153 MB / 0.5596 GB, free: 2.16 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.9564, allocations: 0 / 0.5596 GB, free: 2.16 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat does not exist to compare? outputFormat=mat