Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.002482/0.002482, allocations: 188.8 kB / 7.802 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.739/1.739, 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.001349/0.001349, allocations: 91.56 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.2119/0.2119, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.237/0.449, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.7737, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.9033, allocations: 85.86 MB / 0.5493 GB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.9035, allocations: 71.95 kB / 0.5494 GB, free: 12.96 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.01595/0.9195, allocations: 6.165 MB / 0.5554 GB, free: 6.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.9196, allocations: 12 kB / 0.5554 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.9196, allocations: 7.844 kB / 0.5554 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.9198, allocations: 187 kB / 0.5556 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.9198, allocations: 0 / 0.5556 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.9199, allocations: 0 / 0.5556 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.962e-05/0.9199, allocations: 19.89 kB / 0.5556 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.9201, allocations: 51.42 kB / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.9201, allocations: 4 kB / 0.5557 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.9201, allocations: 3.984 kB / 0.5557 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.9201, allocations: 0 / 0.5557 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.9204, allocations: 253.3 kB / 0.5559 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.9206, allocations: 29.7 kB / 0.556 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.9206, allocations: 8.859 kB / 0.556 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.9207, allocations: 7.984 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.9207, allocations: 34.56 kB / 0.556 GB, free: 6.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.9207, allocations: 0 / 0.556 GB, free: 6.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004073/0.9211, allocations: 101.4 kB / 0.5561 GB, free: 5.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.9212, allocations: 77.11 kB / 0.5562 GB, free: 5.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.9213, allocations: 129 kB / 0.5563 GB, free: 5.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.9214, allocations: 25.7 kB / 0.5563 GB, free: 5.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.9214, allocations: 84.12 kB / 0.5564 GB, free: 5.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.9214, allocations: 19.75 kB / 0.5564 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.9215, allocations: 0 / 0.5564 GB, free: 5.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9216, allocations: 318.8 kB / 0.5567 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.9216, allocations: 8 kB / 0.5567 GB, free: 5.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.9217, allocations: 21.72 kB / 0.5568 GB, free: 5.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.9217, allocations: 12.03 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9217, allocations: 3.906 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.319e-05/0.9218, allocations: 57.81 kB / 0.5568 GB, free: 5.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9218, allocations: 8 kB / 0.5568 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.9218, allocations: 11.91 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.9218, allocations: 0 / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.9219, allocations: 15.98 kB / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9219, allocations: 0 / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.922, allocations: 8 kB / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.922, allocations: 4 kB / 0.5569 GB, free: 5.086 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 6.727e-05/0.9221, allocations: 102.4 kB / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.9221, allocations: 11.89 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.9223, allocations: 69.69 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9223, allocations: 3.938 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9223, allocations: 0 / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9223, allocations: 7.906 kB / 0.5571 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.9226, allocations: 295.2 kB / 0.5573 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9226, allocations: 0 / 0.5573 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.9227, allocations: 15.98 kB / 0.5574 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9227, allocations: 0 / 0.5574 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.9227, allocations: 4 kB / 0.5574 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9227, allocations: 3.906 kB / 0.5574 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.9227, allocations: 4 kB / 0.5574 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001215/0.9229, allocations: 159.4 kB / 0.5575 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002162/0.9231, allocations: 0.5274 MB / 0.558 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.9231, allocations: 89 kB / 0.5581 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.9232, allocations: 0 / 0.5581 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.9232, allocations: 12 kB / 0.5581 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.9233, allocations: 3.984 kB / 0.5581 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.9233, allocations: 4 kB / 0.5581 GB, free: 3.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.527e-05/0.9234, allocations: 95.28 kB / 0.5582 GB, free: 3.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008157/0.9242, allocations: 35.89 kB / 0.5583 GB, free: 3.547 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.000682/0.9249, allocations: 344.2 kB / 0.5586 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.326e-05/0.925, allocations: 24 kB / 0.5586 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.925, allocations: 0 / 0.5586 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.925, allocations: 16.12 kB / 0.5586 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.9252, allocations: 15.84 kB / 0.5586 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.9255, allocations: 99.94 kB / 0.5587 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.9258, allocations: 0.7075 MB / 0.5594 GB, free: 2.332 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.9258, allocations: 0 / 0.5594 GB, free: 2.332 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat