Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",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.001447/0.001448, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 95.41 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 45.16 MB / 383.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2598/0.4913, allocations: 69.35 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.6017, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.9504, allocations: 88.69 MB / 0.5905 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.9507, allocations: 76.7 kB / 0.5905 GB, free: 14.11 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.01441/0.9652, allocations: 5.249 MB / 0.5957 GB, free: 9.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.9652, allocations: 8 kB / 0.5957 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.9653, allocations: 11.81 kB / 0.5957 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.9657, allocations: 213.8 kB / 0.5959 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.9657, allocations: 4 kB / 0.5959 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.9657, allocations: 4 kB / 0.5959 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.313e-05/0.9658, allocations: 19.55 kB / 0.5959 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.9659, allocations: 45.53 kB / 0.596 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.966, allocations: 7.938 kB / 0.596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.966, allocations: 0 / 0.596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.966, allocations: 0 / 0.596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.9665, allocations: 275.6 kB / 0.5962 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.9666, allocations: 32.47 kB / 0.5963 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.9666, allocations: 12.94 kB / 0.5963 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.9666, allocations: 7.188 kB / 0.5963 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.9667, allocations: 30.56 kB / 0.5963 GB, free: 8.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.9667, allocations: 0 / 0.5963 GB, free: 8.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006012/0.9673, allocations: 152.1 kB / 0.5965 GB, free: 8.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.9673, allocations: 51.41 kB / 0.5965 GB, free: 8.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.9676, allocations: 230.1 kB / 0.5967 GB, free: 8.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.9676, allocations: 25.7 kB / 0.5967 GB, free: 8.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.9677, allocations: 94 kB / 0.5968 GB, free: 8.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.9677, allocations: 31.11 kB / 0.5969 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.9678, allocations: 0 / 0.5969 GB, free: 8.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.968, allocations: 325 kB / 0.5972 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.968, allocations: 18.38 kB / 0.5972 GB, free: 8.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.968, allocations: 11.12 kB / 0.5972 GB, free: 8.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.907e-05/0.9681, allocations: 19.22 kB / 0.5972 GB, free: 8.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.9681, allocations: 0 / 0.5972 GB, free: 8.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001448/0.9682, allocations: 79.75 kB / 0.5973 GB, free: 7.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.9683, allocations: 4 kB / 0.5973 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9683, allocations: 3.984 kB / 0.5973 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.9683, allocations: 4 kB / 0.5973 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.9684, allocations: 20 kB / 0.5973 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.9684, allocations: 3.938 kB / 0.5973 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.9685, allocations: 13.09 kB / 0.5973 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.9685, allocations: 7 kB / 0.5974 GB, free: 7.918 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 8.882e-05/0.9686, allocations: 104.9 kB / 0.5975 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.9687, allocations: 15.75 kB / 0.5975 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.9689, allocations: 104.7 kB / 0.5976 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.9689, allocations: 7.984 kB / 0.5976 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9689, allocations: 0 / 0.5976 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.9689, allocations: 0 / 0.5976 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.9694, allocations: 378.5 kB / 0.5979 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9694, allocations: 0 / 0.5979 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.9695, allocations: 20.03 kB / 0.598 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.9695, allocations: 0 / 0.598 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.9695, allocations: 3.984 kB / 0.598 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9696, allocations: 4 kB / 0.598 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.9696, allocations: 3.906 kB / 0.598 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002144/0.9698, allocations: 198.5 kB / 0.5982 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003374/0.9701, allocations: 0.5614 MB / 0.5987 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.9702, allocations: 100.8 kB / 0.5988 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.9703, allocations: 0 / 0.5988 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.9704, allocations: 23.92 kB / 0.5988 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.9704, allocations: 7.906 kB / 0.5988 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.9704, allocations: 0 / 0.5988 GB, free: 6.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001635/0.9706, allocations: 179 kB / 0.599 GB, free: 6.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008328/0.9714, allocations: 30.86 kB / 0.599 GB, free: 6.191 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.000741/0.9722, allocations: 336.5 kB / 0.5994 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.9723, allocations: 41.86 kB / 0.5994 GB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9723, allocations: 3.188 kB / 0.5994 GB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.9724, allocations: 26.12 kB / 0.5994 GB, free: 5.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.9727, allocations: 15.73 kB / 0.5994 GB, free: 5.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.9731, allocations: 208.5 kB / 0.5996 GB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.9736, allocations: 0.7414 MB / 0.6004 GB, free: 4.898 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.9736, allocations: 0 / 0.6004 GB, free: 4.898 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat does not exist to compare? outputFormat=mat