Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.0009725/0.0009725, allocations: 185.7 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.308/1.308, 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.001089/0.001089, 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.1685/0.1685, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1841/0.3527, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.5961, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.7066, allocations: 87.16 MB / 0.5506 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.7068, allocations: 75.47 kB / 0.5507 GB, free: 11.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.02142/0.7282, allocations: 7.804 MB / 0.5583 GB, free: 3.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.7283, allocations: 8 kB / 0.5583 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.7284, allocations: 7.906 kB / 0.5583 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.7287, allocations: 210.1 kB / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.7287, allocations: 3.984 kB / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.7287, allocations: 0 / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.702e-05/0.7288, allocations: 27.89 kB / 0.5585 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.7289, allocations: 71.33 kB / 0.5586 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7289, allocations: 0 / 0.5586 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.729, allocations: 0 / 0.5586 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.729, allocations: 0 / 0.5586 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.7293, allocations: 265.4 kB / 0.5589 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.7295, allocations: 54.62 kB / 0.5589 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.7295, allocations: 16.98 kB / 0.5589 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.7295, allocations: 4 kB / 0.5589 GB, free: 3.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.922e-05/0.7296, allocations: 59.41 kB / 0.559 GB, free: 3.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.7296, allocations: 0 / 0.559 GB, free: 3.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004356/0.7301, allocations: 133.3 kB / 0.5591 GB, free: 2.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.7301, allocations: 88.95 kB / 0.5592 GB, free: 2.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.7303, allocations: 133 kB / 0.5593 GB, free: 2.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.7303, allocations: 25.7 kB / 0.5594 GB, free: 2.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.7303, allocations: 92.12 kB / 0.5594 GB, free: 2.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.7304, allocations: 19.66 kB / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-06/0.7304, allocations: 0 / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7305, allocations: 330.8 kB / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.7305, allocations: 12 kB / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.7306, allocations: 50.5 kB / 0.5598 GB, free: 2.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.7306, allocations: 16 kB / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7306, allocations: 0 / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001504/0.7308, allocations: 101.5 kB / 0.56 GB, free: 1.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7308, allocations: 4 kB / 0.56 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7308, allocations: 0 / 0.56 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7309, allocations: 7.906 kB / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.731, allocations: 12 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.731, allocations: 4.062 kB / 0.56 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.731, allocations: 7.984 kB / 0.56 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.7311, allocations: 4 kB / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.247e-05/0.7311, allocations: 106.3 kB / 0.5601 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.7312, allocations: 7.906 kB / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.7314, allocations: 102.1 kB / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7314, allocations: 0 / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7314, allocations: 0 / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7314, allocations: 8.188 kB / 0.5602 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.7318, allocations: 363.8 kB / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7318, allocations: 0 / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.7319, allocations: 15.94 kB / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7319, allocations: 0 / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.7319, allocations: 3.984 kB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7319, allocations: 0 / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7319, allocations: 4 kB / 0.5606 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001907/0.7321, allocations: 205.9 kB / 0.5608 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003039/0.7324, allocations: 0.5771 MB / 0.5613 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.7325, allocations: 85.02 kB / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.7325, allocations: 3.984 kB / 0.5614 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.7326, allocations: 4.094 kB / 0.5614 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.7327, allocations: 15.88 kB / 0.5614 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.7327, allocations: 11.89 kB / 0.5614 GB, free: 296 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.473e-05/0.7328, allocations: 114.4 kB / 0.5616 GB, free: 184 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000873/0.7336, allocations: 47.88 kB / 0.5616 GB, free: 136 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008263/0.7345, allocations: 386.8 kB / 0.562 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.7346, allocations: 59.92 kB / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7347, allocations: 0 / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.7347, allocations: 27.94 kB / 0.5621 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.735, allocations: 27.83 kB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.7353, allocations: 128.7 kB / 0.5622 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.7357, allocations: 0.731 MB / 0.5629 GB, free: 14.76 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7357, allocations: 0 / 0.5629 GB, free: 14.76 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat