Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.001227/0.001227, allocations: 189.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.472/1.472, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009885/0.0009878, allocations: 90.81 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.2208/0.2208, allocations: 43.48 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2209/0.4417, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.7266, allocations: 58.85 MB / 476.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.8361, allocations: 85.96 MB / 0.5494 GB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.8364, allocations: 83.39 kB / 0.5495 GB, free: 12.93 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.0148/0.8512, allocations: 6.184 MB / 0.5556 GB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.8512, allocations: 11.98 kB / 0.5556 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.8513, allocations: 7.906 kB / 0.5556 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.8515, allocations: 179.5 kB / 0.5557 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.8515, allocations: 0 / 0.5557 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.8515, allocations: 4 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.011e-05/0.8516, allocations: 19.89 kB / 0.5558 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.908e-05/0.8517, allocations: 55.34 kB / 0.5558 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8517, allocations: 4 kB / 0.5558 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.8517, allocations: 0 / 0.5558 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8517, allocations: 4 kB / 0.5558 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.8521, allocations: 257.4 kB / 0.5561 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.8522, allocations: 37.7 kB / 0.5561 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.8522, allocations: 8.859 kB / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.8523, allocations: 0 / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.8523, allocations: 42.5 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8523, allocations: 0 / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003502/0.8526, allocations: 105.5 kB / 0.5563 GB, free: 5.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.8527, allocations: 81.11 kB / 0.5563 GB, free: 5.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8528, allocations: 122.7 kB / 0.5565 GB, free: 5.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.8528, allocations: 25.7 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.8529, allocations: 84.14 kB / 0.5566 GB, free: 5.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.8529, allocations: 19.73 kB / 0.5566 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.8529, allocations: 0 / 0.5566 GB, free: 5.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.853, allocations: 314.8 kB / 0.5569 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.853, allocations: 11.98 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.8531, allocations: 41.72 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.8531, allocations: 11.98 kB / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8531, allocations: 7.906 kB / 0.5569 GB, free: 5.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.6e-05/0.8532, allocations: 57.69 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.8532, allocations: 4 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8532, allocations: 3.906 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.8533, allocations: 7.938 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.8533, allocations: 16.03 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8534, allocations: 0 / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.8534, allocations: 7.984 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.8534, allocations: 0 / 0.557 GB, free: 5.02 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.872e-05/0.8535, allocations: 117.7 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.8535, allocations: 7.906 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.8537, allocations: 73.73 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8537, allocations: 4 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8537, allocations: 0 / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8537, allocations: 3.906 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.854, allocations: 311.1 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.854, allocations: 0 / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.8541, allocations: 12 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8541, allocations: 0 / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.8541, allocations: 4 kB / 0.5575 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8541, allocations: 3.906 kB / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8542, allocations: 7.984 kB / 0.5576 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001346/0.8543, allocations: 159.8 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002171/0.8545, allocations: 0.535 MB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.8546, allocations: 93 kB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.8546, allocations: 4.141 kB / 0.5583 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.8547, allocations: 4 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.8547, allocations: 7.969 kB / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.8547, allocations: 4 kB / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.27e-05/0.8548, allocations: 99.77 kB / 0.5584 GB, free: 3.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007963/0.8556, allocations: 31.91 kB / 0.5585 GB, free: 3.445 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.0006056/0.8562, allocations: 339.9 kB / 0.5588 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.2e-05/0.8563, allocations: 35.92 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8563, allocations: 0 / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.169e-05/0.8564, allocations: 20 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.8566, allocations: 19.84 kB / 0.5589 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.8568, allocations: 95.81 kB / 0.559 GB, free: 2.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.8571, allocations: 0.7153 MB / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8571, allocations: 0 / 0.5597 GB, free: 2.211 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat does not exist to compare? outputFormat=mat