Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",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 trunk/package.mo): time 0.0009923/0.0009923, allocations: 200.3 kB / 8.541 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.138/1.138, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008957/0.0008957, allocations: 86.42 kB / 286.3 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1617/0.1617, allocations: 45.14 MB / 383.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2029/0.3647, allocations: 69.36 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.4528, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2641/0.7169, allocations: 89.25 MB / 0.591 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.7172, allocations: 69.05 kB / 0.5911 GB, free: 13.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01947/0.7367, allocations: 9.337 MB / 0.6002 GB, free: 5.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.7367, allocations: 8 kB / 0.6002 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.7368, allocations: 43.44 kB / 0.6003 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.7372, allocations: 327.8 kB / 0.6006 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.7373, allocations: 4 kB / 0.6006 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.7373, allocations: 3.984 kB / 0.6006 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.954e-05/0.7374, allocations: 14.94 kB / 0.6006 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/0.7374, allocations: 51.81 kB / 0.6006 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.7375, allocations: 0 / 0.6006 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.7375, allocations: 0 / 0.6006 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.7375, allocations: 0 / 0.6006 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.738, allocations: 425.5 kB / 0.601 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.98e-05/0.7381, allocations: 32.67 kB / 0.6011 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.7381, allocations: 15.8 kB / 0.6011 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.7381, allocations: 0 / 0.6011 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.7381, allocations: 38.56 kB / 0.6011 GB, free: 4.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.7381, allocations: 0 / 0.6011 GB, free: 4.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005439/0.7387, allocations: 212.6 kB / 0.6013 GB, free: 4.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.7387, allocations: 51.41 kB / 0.6014 GB, free: 4.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.7398, allocations: 0.7613 MB / 0.6021 GB, free: 3.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.7398, allocations: 33.7 kB / 0.6022 GB, free: 3.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.7399, allocations: 137.6 kB / 0.6023 GB, free: 3.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.7399, allocations: 27.08 kB / 0.6023 GB, free: 3.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.7399, allocations: 0 / 0.6023 GB, free: 3.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.74, allocations: 367.8 kB / 0.6027 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.7401, allocations: 15.17 kB / 0.6027 GB, free: 2.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.7401, allocations: 19.38 kB / 0.6027 GB, free: 2.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.7401, allocations: 14.69 kB / 0.6027 GB, free: 2.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.7401, allocations: 0 / 0.6027 GB, free: 2.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001605/0.7403, allocations: 111.6 kB / 0.6028 GB, free: 2.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.7403, allocations: 4 kB / 0.6028 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7403, allocations: 3.938 kB / 0.6028 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.7404, allocations: 0 / 0.6028 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.7405, allocations: 27.92 kB / 0.6029 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7405, allocations: 8 kB / 0.6029 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.7406, allocations: 11.98 kB / 0.6029 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.7406, allocations: 4 kB / 0.6029 GB, free: 2.734 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 5.54e-05/0.7407, allocations: 101 kB / 0.603 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.7407, allocations: 47.44 kB / 0.603 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.741, allocations: 134.4 kB / 0.6031 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.741, allocations: 0 / 0.6031 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.741, allocations: 7.984 kB / 0.6032 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.741, allocations: 288 / 0.6032 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.7417, allocations: 0.5836 MB / 0.6037 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7417, allocations: 0 / 0.6037 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.7418, allocations: 19.98 kB / 0.6037 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7418, allocations: 7.922 kB / 0.6037 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.7418, allocations: 8.031 kB / 0.6038 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7418, allocations: 0 / 0.6038 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7419, allocations: 0 / 0.6038 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002111/0.7421, allocations: 235.7 kB / 0.604 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002884/0.7424, allocations: 0.605 MB / 0.6046 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.7425, allocations: 159.3 kB / 0.6047 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.7426, allocations: 0 / 0.6047 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.7427, allocations: 11.89 kB / 0.6047 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.7428, allocations: 4 kB / 0.6047 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.7428, allocations: 11.88 kB / 0.6047 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005926/0.7434, allocations: 0.607 MB / 0.6053 GB, free: 396 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009135/0.7443, allocations: 74.48 kB / 0.6054 GB, free: 328 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: 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.0006582/0.745, allocations: 331.2 kB / 0.6057 GB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.7451, allocations: 42.06 kB / 0.6058 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7451, allocations: 3.312 kB / 0.6058 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.7452, allocations: 19.38 kB / 0.6058 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.7454, allocations: 24.64 kB / 0.6058 GB, free: 8 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.7465, allocations: 0.7346 MB / 0.6065 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.747, allocations: 0.8774 MB / 0.6074 GB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.747, allocations: 0 / 0.6074 GB, free: 14.43 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat does not exist to compare? outputFormat=mat