Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",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.0009726/0.0009726, allocations: 195.4 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.1/1.1, allocations: 225.5 MB / 234.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008484/0.0008484, allocations: 102.2 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2523/0.2523, allocations: 45.15 MB / 383.3 MB, free: 40.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0997/0.352, allocations: 69.37 MB / 452.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.5874, allocations: 63.24 MB / 0.5039 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08894/0.6764, allocations: 90.02 MB / 0.5918 GB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.6766, allocations: 71.91 kB / 0.5918 GB, free: 4.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.018/0.6946, allocations: 6.922 MB / 0.5986 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.6946, allocations: 12 kB / 0.5986 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.6947, allocations: 11.81 kB / 0.5986 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.695, allocations: 227.6 kB / 0.5988 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.6951, allocations: 0 / 0.5988 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.6951, allocations: 7.984 kB / 0.5988 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.483e-05/0.6952, allocations: 23.84 kB / 0.5989 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.6953, allocations: 69.61 kB / 0.5989 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6953, allocations: 0 / 0.5989 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6953, allocations: 0 / 0.5989 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6953, allocations: 3.938 kB / 0.5989 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.6957, allocations: 289.3 kB / 0.5992 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.6958, allocations: 37.72 kB / 0.5993 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.6959, allocations: 24.97 kB / 0.5993 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.6959, allocations: 0 / 0.5993 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/0.696, allocations: 67.41 kB / 0.5993 GB, free: 12.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.696, allocations: 4 kB / 0.5993 GB, free: 12.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004708/0.6965, allocations: 181.2 kB / 0.5995 GB, free: 12.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.6965, allocations: 51.41 kB / 0.5996 GB, free: 12.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.6967, allocations: 205.5 kB / 0.5998 GB, free: 12.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.6967, allocations: 29.7 kB / 0.5998 GB, free: 12.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.6968, allocations: 100 kB / 0.5999 GB, free: 11.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.6968, allocations: 31.55 kB / 0.5999 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.6968, allocations: 0 / 0.5999 GB, free: 11.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6969, allocations: 326.8 kB / 0.6002 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.697, allocations: 27.94 kB / 0.6003 GB, free: 11.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.6971, allocations: 45.7 kB / 0.6003 GB, free: 11.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.6971, allocations: 35.94 kB / 0.6003 GB, free: 11.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6971, allocations: 0 / 0.6003 GB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001789/0.6973, allocations: 114.7 kB / 0.6004 GB, free: 11.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.6973, allocations: 4 kB / 0.6004 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6973, allocations: 0 / 0.6004 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6974, allocations: 7.984 kB / 0.6005 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.6975, allocations: 23.92 kB / 0.6005 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.6975, allocations: 0 / 0.6005 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.6975, allocations: 7.906 kB / 0.6005 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.6975, allocations: 12.03 kB / 0.6005 GB, free: 11.27 MB / 426.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.735e-05/0.6976, allocations: 105 kB / 0.6006 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.6977, allocations: 15.81 kB / 0.6006 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.6979, allocations: 130.9 kB / 0.6007 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6979, allocations: 4 kB / 0.6007 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6979, allocations: 0 / 0.6007 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6979, allocations: 0 / 0.6007 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.6984, allocations: 444.4 kB / 0.6012 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6984, allocations: 4 kB / 0.6012 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.6985, allocations: 15.94 kB / 0.6012 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6985, allocations: 4 kB / 0.6012 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6985, allocations: 3.984 kB / 0.6012 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6985, allocations: 4 kB / 0.6012 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6985, allocations: 0 / 0.6012 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002217/0.6987, allocations: 246 kB / 0.6014 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003006/0.6991, allocations: 0.6103 MB / 0.602 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.6991, allocations: 100.9 kB / 0.6021 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.6992, allocations: 7.906 kB / 0.6021 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.6993, allocations: 3.984 kB / 0.6021 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.6993, allocations: 4 kB / 0.6021 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.6993, allocations: 11.98 kB / 0.6021 GB, free: 9.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001305/0.6994, allocations: 165.6 kB / 0.6023 GB, free: 9.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008795/0.7003, allocations: 47.92 kB / 0.6024 GB, free: 9.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006857/0.701, allocations: 389.7 kB / 0.6027 GB, free: 8.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.7012, allocations: 71.92 kB / 0.6028 GB, free: 8.875 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7012, allocations: 0 / 0.6028 GB, free: 8.875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.7013, allocations: 43.94 kB / 0.6028 GB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.7015, allocations: 24.08 kB / 0.6029 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.702, allocations: 214.3 kB / 0.6031 GB, free: 8.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.7023, allocations: 0.7402 MB / 0.6038 GB, free: 7.801 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7023, allocations: 7.875 kB / 0.6038 GB, free: 7.793 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat