Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",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.001689/0.001689, allocations: 191.4 kB / 7.802 MB, free: 2.5 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.495/1.495, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009273/0.0009273, allocations: 86.69 kB / 261.4 MB, free: 13.62 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.2033/0.2033, allocations: 43.49 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2032/0.4066, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.6414, allocations: 58.84 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.7595, allocations: 85.97 MB / 0.5494 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.7599, allocations: 75.47 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.01755/0.7775, allocations: 6.176 MB / 0.5555 GB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7776, allocations: 12 kB / 0.5555 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.7776, allocations: 11.84 kB / 0.5556 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.7778, allocations: 188.7 kB / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.7779, allocations: 4 kB / 0.5557 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.7779, allocations: 0 / 0.5557 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.719e-05/0.778, allocations: 15.91 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.7781, allocations: 55.41 kB / 0.5558 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.7781, allocations: 4 kB / 0.5558 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.7781, allocations: 4 kB / 0.5558 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7781, allocations: 3.984 kB / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.7785, allocations: 265.3 kB / 0.5561 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.7787, allocations: 25.72 kB / 0.5561 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.7787, allocations: 20.94 kB / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.7788, allocations: 4 kB / 0.5561 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.7788, allocations: 30.56 kB / 0.5561 GB, free: 5.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.715e-06/0.7788, allocations: 3.984 kB / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004162/0.7792, allocations: 109.3 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.7793, allocations: 81.11 kB / 0.5563 GB, free: 5.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.7794, allocations: 121 kB / 0.5564 GB, free: 5.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.7794, allocations: 25.7 kB / 0.5565 GB, free: 5.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.7795, allocations: 88.14 kB / 0.5566 GB, free: 5.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.7795, allocations: 15.75 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.7795, allocations: 0 / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7796, allocations: 318.8 kB / 0.5569 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.7797, allocations: 12 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.7797, allocations: 29.7 kB / 0.5569 GB, free: 5.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.7798, allocations: 12 kB / 0.5569 GB, free: 5.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7798, allocations: 3.906 kB / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001113/0.7799, allocations: 65.62 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.7799, allocations: 8 kB / 0.557 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7799, allocations: 3.906 kB / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.7799, allocations: 3.938 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.78, allocations: 15.98 kB / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.78, allocations: 4.031 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.7801, allocations: 7.984 kB / 0.557 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.7801, allocations: 4 kB / 0.557 GB, free: 4.945 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.798e-05/0.7802, allocations: 102.4 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.7802, allocations: 7.906 kB / 0.5571 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.7804, allocations: 77.67 kB / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7804, allocations: 0 / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7804, allocations: 7.938 kB / 0.5572 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7804, allocations: 3.906 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.7807, allocations: 303.2 kB / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7807, allocations: 0 / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.7808, allocations: 15.98 kB / 0.5575 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.7808, allocations: 0 / 0.5575 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.7808, allocations: 4 kB / 0.5575 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7808, allocations: 8.281 kB / 0.5575 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.7809, allocations: 0 / 0.5575 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001411/0.781, allocations: 167.4 kB / 0.5577 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002859/0.7813, allocations: 0.5311 MB / 0.5582 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.7814, allocations: 85.02 kB / 0.5583 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.7814, allocations: 7.984 kB / 0.5583 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.7815, allocations: 4 kB / 0.5583 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.7815, allocations: 4 kB / 0.5583 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.7815, allocations: 3.984 kB / 0.5583 GB, free: 3.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.738e-05/0.7816, allocations: 107.8 kB / 0.5584 GB, free: 3.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008641/0.7825, allocations: 31.89 kB / 0.5585 GB, free: 3.379 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.0006695/0.7831, allocations: 348.2 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.7833, allocations: 32 kB / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7833, allocations: 0 / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.7833, allocations: 23.92 kB / 0.5588 GB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.7835, allocations: 15.86 kB / 0.5589 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.7838, allocations: 103.8 kB / 0.559 GB, free: 2.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.7842, allocations: 0.7075 MB / 0.5596 GB, free: 2.137 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7842, allocations: 0 / 0.5596 GB, free: 2.137 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat does not exist to compare? outputFormat=mat