Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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 trunk/package.mo): time 0.001932/0.001932, allocations: 198.1 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 88.89 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.295/0.295, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2852/0.5802, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.7207, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4401/1.161, allocations: 90.18 MB / 0.5919 GB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.161, allocations: 70.59 kB / 0.592 GB, free: 12.86 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02991/1.191, allocations: 10.72 MB / 0.6025 GB, free: 3.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.191, allocations: 12 kB / 0.6025 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000506/1.192, allocations: 111.2 kB / 0.6026 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008245/1.193, allocations: 0.4937 MB / 0.6031 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.193, allocations: 0 / 0.6031 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/1.193, allocations: 11.94 kB / 0.6031 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001796/1.193, allocations: 63.86 kB / 0.6031 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/1.193, allocations: 119.9 kB / 0.6032 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.193, allocations: 0 / 0.6032 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.193, allocations: 0 / 0.6032 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.193, allocations: 4 kB / 0.6033 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.194, allocations: 0.7146 MB / 0.604 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/1.194, allocations: 90.7 kB / 0.604 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/1.195, allocations: 40.44 kB / 0.6041 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/1.195, allocations: 7.25 kB / 0.6041 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.195, allocations: 42.44 kB / 0.6041 GB, free: 2.145 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/1.195, allocations: 0 / 0.6041 GB, free: 2.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001457/1.196, allocations: 0.5339 MB / 0.6046 GB, free: 1.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/1.196, allocations: 85.05 kB / 0.6047 GB, free: 1.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/1.197, allocations: 0.7874 MB / 0.6055 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/1.197, allocations: 25.7 kB / 0.6055 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/1.197, allocations: 160.6 kB / 0.6057 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/1.197, allocations: 61.52 kB / 0.6057 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/1.197, allocations: 0 / 0.6057 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/1.198, allocations: 380.4 kB / 0.6061 GB, free: 368 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/1.198, allocations: 57.73 kB / 0.6061 GB, free: 332 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.198, allocations: 70.08 kB / 0.6062 GB, free: 280 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/1.198, allocations: 56.86 kB / 0.6063 GB, free: 248 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/1.198, allocations: 0 / 0.6063 GB, free: 248 kB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003761/1.198, allocations: 231.8 kB / 0.6065 GB, free: 52 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.198, allocations: 4 kB / 0.6065 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.198, allocations: 7.938 kB / 0.6065 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.198, allocations: 0 / 0.6065 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/1.199, allocations: 67.89 kB / 0.6066 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.199, allocations: 0 / 0.6066 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/1.199, allocations: 39.88 kB / 0.6066 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/1.199, allocations: 4 kB / 0.6066 GB, free: 15.93 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.935e-05/1.199, allocations: 108.9 kB / 0.6067 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.199, allocations: 59.25 kB / 0.6068 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/1.2, allocations: 276.2 kB / 0.607 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.2, allocations: 7.906 kB / 0.607 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.2, allocations: 3.938 kB / 0.607 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.2, allocations: 0 / 0.607 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.201, allocations: 0.8604 MB / 0.6079 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.201, allocations: 0 / 0.6079 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/1.201, allocations: 63.95 kB / 0.6079 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.201, allocations: 480 / 0.6079 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.201, allocations: 11.48 kB / 0.608 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.201, allocations: 0 / 0.608 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.201, allocations: 0 / 0.608 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004709/1.202, allocations: 428.7 kB / 0.6084 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006226/1.202, allocations: 0.7908 MB / 0.6091 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/1.203, allocations: 194.3 kB / 0.6093 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-05/1.203, allocations: 0 / 0.6093 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/1.203, allocations: 27.98 kB / 0.6094 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/1.203, allocations: 15.97 kB / 0.6094 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/1.203, allocations: 11.67 kB / 0.6094 GB, free: 13.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006767/1.204, allocations: 0.62 MB / 0.61 GB, free: 12.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009808/1.205, allocations: 87.81 kB / 0.6101 GB, free: 12.75 MB / 410.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 (20): * Single equations (assignments): 20 * 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.0006764/1.205, allocations: 295.4 kB / 0.6103 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/1.206, allocations: 149.3 kB / 0.6105 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.206, allocations: 0 / 0.6105 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/1.206, allocations: 87.67 kB / 0.6106 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/1.206, allocations: 71.66 kB / 0.6106 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.208, allocations: 0.7462 MB / 0.6114 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/1.209, allocations: 0.9341 MB / 0.6123 GB, free: 10.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/1.209, allocations: 0 / 0.6123 GB, free: 10.67 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat does not exist to compare? outputFormat=mat