Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001007/0.001007, allocations: 175 kB / 8.521 MB, free: 1.84 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.406/1.406, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0008889/0.0008889, allocations: 84.67 kB / 281.2 MB, free: 5.473 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.2107/0.2107, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2856/0.4964, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.6456, allocations: 61.91 MB / 0.4942 GB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/1.037, allocations: 87.25 MB / 0.5794 GB, free: 9.508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.038, allocations: 74.38 kB / 0.5794 GB, free: 9.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01124/1.049, allocations: 4.339 MB / 0.5837 GB, free: 5.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.049, allocations: 11.94 kB / 0.5837 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/1.049, allocations: 15.81 kB / 0.5837 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/1.049, allocations: 203.6 kB / 0.5839 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/1.049, allocations: 0 / 0.5839 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/1.049, allocations: 4 kB / 0.5839 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.17e-05/1.049, allocations: 15.94 kB / 0.5839 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/1.05, allocations: 49.59 kB / 0.584 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.05, allocations: 4 kB / 0.584 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.05, allocations: 0 / 0.584 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.05, allocations: 0 / 0.584 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/1.05, allocations: 273.4 kB / 0.5842 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.051e-05/1.05, allocations: 25.72 kB / 0.5843 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/1.05, allocations: 32.81 kB / 0.5843 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.05, allocations: 0 / 0.5843 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/1.05, allocations: 30.56 kB / 0.5843 GB, free: 4.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.614e-06/1.05, allocations: 3.984 kB / 0.5843 GB, free: 4.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000547/1.051, allocations: 145.2 kB / 0.5845 GB, free: 4.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/1.051, allocations: 55.41 kB / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/1.051, allocations: 202.5 kB / 0.5847 GB, free: 3.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.051, allocations: 25.7 kB / 0.5847 GB, free: 3.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/1.051, allocations: 95.98 kB / 0.5848 GB, free: 3.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/1.051, allocations: 27.64 kB / 0.5849 GB, free: 3.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/1.051, allocations: 0 / 0.5849 GB, free: 3.754 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/1.051, allocations: 322.8 kB / 0.5852 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/1.051, allocations: 12 kB / 0.5852 GB, free: 3.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/1.051, allocations: 20 kB / 0.5852 GB, free: 3.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/1.051, allocations: 15.98 kB / 0.5852 GB, free: 3.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/1.051, allocations: 4 kB / 0.5852 GB, free: 3.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001351/1.052, allocations: 77.73 kB / 0.5853 GB, free: 3.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.052, allocations: 4 kB / 0.5853 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.052, allocations: 0 / 0.5853 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.052, allocations: 4 kB / 0.5853 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/1.052, allocations: 19.98 kB / 0.5853 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.052, allocations: 8.062 kB / 0.5853 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/1.052, allocations: 4 kB / 0.5853 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.052, allocations: 7.938 kB / 0.5853 GB, free: 3.25 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 (8): * Single equations (assignments): 8 * 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.788e-05/1.052, allocations: 104.9 kB / 0.5854 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/1.052, allocations: 7.906 kB / 0.5854 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/1.052, allocations: 103 kB / 0.5855 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.052, allocations: 4 kB / 0.5855 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.052, allocations: 0 / 0.5855 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.052, allocations: 3.938 kB / 0.5855 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/1.053, allocations: 375.8 kB / 0.5859 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.053, allocations: 0 / 0.5859 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/1.053, allocations: 19.98 kB / 0.5859 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.053, allocations: 7.969 kB / 0.5859 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/1.053, allocations: 4 kB / 0.5859 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.053, allocations: 3.938 kB / 0.5859 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.053, allocations: 0 / 0.5859 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001712/1.053, allocations: 190.1 kB / 0.5861 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002559/1.053, allocations: 0.5725 MB / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/1.053, allocations: 89.02 kB / 0.5868 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/1.053, allocations: 7.922 kB / 0.5868 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/1.053, allocations: 4 kB / 0.5868 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/1.053, allocations: 15.89 kB / 0.5868 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/1.053, allocations: 8 kB / 0.5868 GB, free: 1.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001372/1.054, allocations: 159.2 kB / 0.5869 GB, free: 1.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009158/1.055, allocations: 27.94 kB / 0.587 GB, free: 1.438 MB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000722/1.055, allocations: 345.2 kB / 0.5873 GB, free: 1.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/1.055, allocations: 47.91 kB / 0.5873 GB, free: 1.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.055, allocations: 0 / 0.5873 GB, free: 1.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/1.055, allocations: 24 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/1.056, allocations: 11.98 kB / 0.5874 GB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/1.056, allocations: 192.8 kB / 0.5876 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/1.057, allocations: 0.7309 MB / 0.5883 GB, free: 128 kB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/1.057, allocations: 0 / 0.5883 GB, free: 128 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat