Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",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.001423/0.001423, allocations: 186.5 kB / 7.801 MB, free: 2.492 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.499/1.499, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009588/0.0009587, allocations: 86.62 kB / 261.4 MB, free: 13.54 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.2092/0.2092, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2243/0.4336, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.7031, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.8079, allocations: 85.97 MB / 0.5494 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.8081, allocations: 63.97 kB / 0.5495 GB, free: 12.91 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.01686/0.825, allocations: 6.176 MB / 0.5555 GB, free: 6.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8251, allocations: 8 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.8251, allocations: 7.906 kB / 0.5555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.8254, allocations: 183.5 kB / 0.5557 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.8254, allocations: 4 kB / 0.5557 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.8255, allocations: 0 / 0.5557 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.293e-05/0.8255, allocations: 15.91 kB / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.8257, allocations: 59.34 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8257, allocations: 8 kB / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.8257, allocations: 3.938 kB / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.8257, allocations: 0 / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.8261, allocations: 261.4 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.8263, allocations: 33.7 kB / 0.5561 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.8264, allocations: 16.86 kB / 0.5561 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.8264, allocations: 3.938 kB / 0.5561 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.8264, allocations: 30.56 kB / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.8264, allocations: 3.984 kB / 0.5561 GB, free: 5.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004139/0.8268, allocations: 105.5 kB / 0.5562 GB, free: 5.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.8269, allocations: 85.11 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.827, allocations: 114.7 kB / 0.5564 GB, free: 5.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.8271, allocations: 25.7 kB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.8271, allocations: 92.12 kB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.8272, allocations: 15.75 kB / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.8272, allocations: 0 / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8273, allocations: 318.8 kB / 0.5569 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.8273, allocations: 15.94 kB / 0.5569 GB, free: 5.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.8274, allocations: 29.78 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.8274, allocations: 15.98 kB / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.8274, allocations: 3.906 kB / 0.5569 GB, free: 5.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001/0.8275, allocations: 61.69 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8275, allocations: 8 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8276, allocations: 7.844 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8276, allocations: 0 / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.8277, allocations: 20.02 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8277, allocations: 0 / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.8277, allocations: 4 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.8277, allocations: 4 kB / 0.557 GB, free: 4.984 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 7.002e-05/0.8278, allocations: 109.8 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.8278, allocations: 7.906 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.828, allocations: 77.73 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.828, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8281, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8281, allocations: 3.906 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.8284, allocations: 311.1 kB / 0.5575 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8284, allocations: 0 / 0.5575 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.8285, allocations: 12 kB / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8285, allocations: 0 / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.8285, allocations: 11.98 kB / 0.5575 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8285, allocations: 3.906 kB / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8285, allocations: 0 / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001538/0.8287, allocations: 163.8 kB / 0.5577 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003122/0.829, allocations: 0.5388 MB / 0.5582 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.8291, allocations: 89 kB / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.8291, allocations: 0 / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.8292, allocations: 4 kB / 0.5583 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.8293, allocations: 7.984 kB / 0.5583 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.8293, allocations: 4 kB / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.379e-05/0.8293, allocations: 103.8 kB / 0.5584 GB, free: 3.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008746/0.8302, allocations: 27.91 kB / 0.5584 GB, free: 3.418 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.0007751/0.831, allocations: 337.2 kB / 0.5588 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.8312, allocations: 39.92 kB / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8312, allocations: 0 / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.8312, allocations: 20 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.8314, allocations: 19.78 kB / 0.5588 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.8318, allocations: 99.81 kB / 0.5589 GB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.8322, allocations: 0.7152 MB / 0.5596 GB, free: 2.176 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8322, allocations: 0 / 0.5596 GB, free: 2.176 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat does not exist to compare? outputFormat=mat