Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24",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.001734/0.001734, allocations: 190.1 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.521/1.521, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.001175/0.001175, allocations: 94.52 kB / 261.4 MB, free: 13.55 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.199/0.199, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2318/0.4309, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.7377, allocations: 58.85 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.8654, allocations: 85.85 MB / 0.5493 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.8657, allocations: 75.95 kB / 0.5494 GB, free: 12.98 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.01694/0.8827, allocations: 6.165 MB / 0.5554 GB, free: 6.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.8827, allocations: 12 kB / 0.5554 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.8828, allocations: 3.906 kB / 0.5554 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.8831, allocations: 200.6 kB / 0.5556 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.8831, allocations: 0 / 0.5556 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.8831, allocations: 0 / 0.5556 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.106e-05/0.8832, allocations: 11.91 kB / 0.5556 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.8833, allocations: 55.41 kB / 0.5557 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.8833, allocations: 8 kB / 0.5557 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8833, allocations: 0 / 0.5557 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.8833, allocations: 0 / 0.5557 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.8837, allocations: 249.3 kB / 0.5559 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.8839, allocations: 33.69 kB / 0.556 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.8839, allocations: 12.86 kB / 0.556 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.884, allocations: 4 kB / 0.556 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.884, allocations: 34.56 kB / 0.556 GB, free: 6.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.884, allocations: 0 / 0.556 GB, free: 6.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004485/0.8845, allocations: 101.4 kB / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.8845, allocations: 77.11 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.8846, allocations: 121 kB / 0.5563 GB, free: 5.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.8847, allocations: 25.7 kB / 0.5563 GB, free: 5.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.8847, allocations: 84.14 kB / 0.5564 GB, free: 5.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.8847, allocations: 15.75 kB / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.8847, allocations: 0 / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.8848, allocations: 318.8 kB / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.8849, allocations: 12 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.8849, allocations: 17.72 kB / 0.5567 GB, free: 5.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.8849, allocations: 20.02 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8849, allocations: 3.906 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.241e-05/0.885, allocations: 53.64 kB / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8851, allocations: 11.94 kB / 0.5568 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8851, allocations: 3.906 kB / 0.5568 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8851, allocations: 0 / 0.5568 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.8852, allocations: 16.23 kB / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.8852, allocations: 0 / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.8852, allocations: 15.98 kB / 0.5569 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.8853, allocations: 7.984 kB / 0.5569 GB, free: 5.113 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.106e-05/0.8853, allocations: 105.8 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.8854, allocations: 7.906 kB / 0.557 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.8855, allocations: 65.75 kB / 0.557 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8855, allocations: 3.938 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8855, allocations: 0 / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8856, allocations: 11.84 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.8858, allocations: 295.2 kB / 0.5573 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8859, allocations: 0 / 0.5573 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.8859, allocations: 15.98 kB / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8859, allocations: 0 / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.8859, allocations: 0 / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.886, allocations: 3.906 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.886, allocations: 4 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001272/0.8861, allocations: 155.4 kB / 0.5575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002322/0.8863, allocations: 0.5272 MB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.8864, allocations: 85 kB / 0.5581 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.8864, allocations: 256 / 0.5581 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.8865, allocations: 12 kB / 0.5581 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.8865, allocations: 11.98 kB / 0.5581 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.8866, allocations: 4 kB / 0.5581 GB, free: 3.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.296e-05/0.8866, allocations: 103.8 kB / 0.5582 GB, free: 3.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008134/0.8874, allocations: 31.89 kB / 0.5583 GB, free: 3.578 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.0006878/0.8881, allocations: 340.8 kB / 0.5586 GB, free: 3.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.8882, allocations: 24 kB / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8883, allocations: 0 / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.8883, allocations: 12 kB / 0.5586 GB, free: 3.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.8885, allocations: 23.78 kB / 0.5587 GB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.8888, allocations: 95.81 kB / 0.5587 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.8891, allocations: 0.7114 MB / 0.5594 GB, free: 2.359 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.8891, allocations: 0 / 0.5594 GB, free: 2.359 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat does not exist to compare? outputFormat=mat