Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 178.5 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 221.4 MB / 230.3 MB, free: 7.668 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.0008432, allocations: 90.3 kB / 281.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2063/0.3877, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.4867, allocations: 61.92 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3846/0.8714, allocations: 87.58 MB / 0.5797 GB, free: 9.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.8718, allocations: 71.95 kB / 0.5798 GB, free: 9.023 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.01939/0.8912, allocations: 6.338 MB / 0.586 GB, free: 2.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.8913, allocations: 11.94 kB / 0.586 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.8913, allocations: 7.906 kB / 0.586 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.8917, allocations: 186.9 kB / 0.5862 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.8917, allocations: 4 kB / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.8918, allocations: 0 / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001055/0.8919, allocations: 15.98 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.8921, allocations: 67.27 kB / 0.5863 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.8921, allocations: 0 / 0.5863 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.8921, allocations: 3.984 kB / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.8921, allocations: 0 / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.8927, allocations: 261.4 kB / 0.5865 GB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.893, allocations: 29.72 kB / 0.5865 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.893, allocations: 16.94 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.8931, allocations: 3.938 kB / 0.5866 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.8931, allocations: 34.56 kB / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.8931, allocations: 0 / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006206/0.8938, allocations: 101.5 kB / 0.5867 GB, free: 1.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.8939, allocations: 85.02 kB / 0.5868 GB, free: 1.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.894, allocations: 117 kB / 0.5869 GB, free: 1.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.8941, allocations: 29.7 kB / 0.5869 GB, free: 1.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.8941, allocations: 80.14 kB / 0.587 GB, free: 1.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.8942, allocations: 19.75 kB / 0.587 GB, free: 1.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.8942, allocations: 0 / 0.587 GB, free: 1.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.8944, allocations: 322.8 kB / 0.5873 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.8945, allocations: 19.94 kB / 0.5873 GB, free: 1.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.8945, allocations: 25.7 kB / 0.5874 GB, free: 1.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.8945, allocations: 12 kB / 0.5874 GB, free: 1.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.8946, allocations: 3.938 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.8947, allocations: 61.59 kB / 0.5874 GB, free: 1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.8947, allocations: 10.34 kB / 0.5874 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8947, allocations: 0 / 0.5874 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.8948, allocations: 4.047 kB / 0.5874 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.8949, allocations: 20.02 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.8949, allocations: 0 / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.8949, allocations: 11.97 kB / 0.5875 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.895, allocations: 4 kB / 0.5875 GB, free: 0.9531 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 9.483e-05/0.8951, allocations: 104.9 kB / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.8951, allocations: 7.906 kB / 0.5876 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.8953, allocations: 81.72 kB / 0.5877 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8953, allocations: 0 / 0.5877 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8953, allocations: 0 / 0.5877 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8953, allocations: 0 / 0.5877 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.8957, allocations: 311.3 kB / 0.588 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8957, allocations: 4.062 kB / 0.588 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.8958, allocations: 19.98 kB / 0.588 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.8958, allocations: 8 kB / 0.588 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.8958, allocations: 0 / 0.588 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8958, allocations: 0 / 0.588 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.8959, allocations: 3.906 kB / 0.588 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001615/0.896, allocations: 155.5 kB / 0.5881 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004079/0.8964, allocations: 0.539 MB / 0.5887 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.8965, allocations: 89.02 kB / 0.5887 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.8966, allocations: 3.984 kB / 0.5888 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.8966, allocations: 4 kB / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.8967, allocations: 4 kB / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.8967, allocations: 3.984 kB / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.371e-05/0.8968, allocations: 101.5 kB / 0.5889 GB, free: 15.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000923/0.8977, allocations: 43.83 kB / 0.5889 GB, free: 15.38 MB / 410.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.0009792/0.8987, allocations: 342.5 kB / 0.5892 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.8989, allocations: 31.94 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8989, allocations: 8 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.899, allocations: 19.98 kB / 0.5893 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.8992, allocations: 8.812 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.8996, allocations: 103.8 kB / 0.5894 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.9, allocations: 0.7036 MB / 0.5901 GB, free: 14.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9, allocations: 0 / 0.5901 GB, free: 14.19 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat does not exist to compare? outputFormat=mat