Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",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.001012/0.001012, allocations: 210.2 kB / 8.54 MB, free: 2.641 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.089/1.089, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008716/0.0008717, allocations: 84.75 kB / 286.3 MB, free: 468 kB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2562/0.2562, allocations: 45.14 MB / 383.3 MB, free: 43.01 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.09846/0.3547, allocations: 69.38 MB / 452.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.5927, allocations: 63.24 MB / 0.5039 GB, free: 41.25 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08914/0.6819, allocations: 89.78 MB / 0.5915 GB, free: 8.164 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.6821, allocations: 67.97 kB / 0.5916 GB, free: 8.098 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01644/0.6986, allocations: 6.339 MB / 0.5978 GB, free: 1.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6986, allocations: 12 kB / 0.5978 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.6987, allocations: 11.91 kB / 0.5978 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.699, allocations: 220.3 kB / 0.598 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.699, allocations: 4 kB / 0.598 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.699, allocations: 0 / 0.598 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.692e-05/0.6991, allocations: 19.98 kB / 0.5981 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.047e-05/0.6991, allocations: 45.59 kB / 0.5981 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6992, allocations: 4 kB / 0.5981 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.6992, allocations: 4 kB / 0.5981 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6992, allocations: 0 / 0.5981 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.6993, allocations: 162.2 kB / 0.5983 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.6994, allocations: 46.58 kB / 0.5983 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.6995, allocations: 24.94 kB / 0.5983 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.6995, allocations: 0 / 0.5983 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.086e-05/0.6996, allocations: 63.31 kB / 0.5984 GB, free: 1.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.6996, allocations: 0 / 0.5984 GB, free: 1.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001685/0.6998, allocations: 61.59 kB / 0.5984 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.6998, allocations: 55.44 kB / 0.5985 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.7, allocations: 174.7 kB / 0.5987 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.7, allocations: 29.7 kB / 0.5987 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.7, allocations: 100.1 kB / 0.5988 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.7001, allocations: 15.81 kB / 0.5988 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.7001, allocations: 3.938 kB / 0.5988 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.7002, allocations: 322.8 kB / 0.5991 GB, free: 244 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.7002, allocations: 11.94 kB / 0.5991 GB, free: 232 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.7003, allocations: 25.72 kB / 0.5992 GB, free: 200 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.7003, allocations: 23.98 kB / 0.5992 GB, free: 176 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7003, allocations: 0 / 0.5992 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001139/0.7004, allocations: 73.5 kB / 0.5992 GB, free: 96 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7005, allocations: 7.938 kB / 0.5993 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.7005, allocations: 0 / 0.5993 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.7005, allocations: 0 / 0.5993 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.7006, allocations: 15.98 kB / 0.5993 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.7006, allocations: 0 / 0.5993 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.7006, allocations: 0 / 0.5993 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.7006, allocations: 4 kB / 0.5993 GB, free: 68 kB / 414.1 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 (7): * Single equations (assignments): 7 * 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 7.239e-05/0.7007, allocations: 116.9 kB / 0.5994 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.7007, allocations: 11.91 kB / 0.5994 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.7009, allocations: 82.7 kB / 0.5995 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7009, allocations: 3.906 kB / 0.5995 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7009, allocations: 0 / 0.5995 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7009, allocations: 3.984 kB / 0.5995 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.7011, allocations: 166.2 kB / 0.5996 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7011, allocations: 0 / 0.5996 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.7011, allocations: 4.188 kB / 0.5996 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.7011, allocations: 8 kB / 0.5997 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.7011, allocations: 4 kB / 0.5997 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7011, allocations: 0 / 0.5997 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7011, allocations: 3.906 kB / 0.5997 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001193/0.7013, allocations: 97.02 kB / 0.5998 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002196/0.7015, allocations: 489.3 kB / 0.6002 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.7016, allocations: 96.91 kB / 0.6003 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.7016, allocations: 0 / 0.6003 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.7016, allocations: 7.984 kB / 0.6003 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.7017, allocations: 3.984 kB / 0.6003 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.7017, allocations: 4 kB / 0.6003 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 0.0001031/0.7018, allocations: 139.2 kB / 0.6005 GB, free: 14.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007478/0.7025, allocations: 27.91 kB / 0.6005 GB, free: 14.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005642/0.7031, allocations: 314.6 kB / 0.6008 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.782e-05/0.7032, allocations: 43.92 kB / 0.6008 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.7032, allocations: 0 / 0.6008 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.7033, allocations: 16 kB / 0.6008 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.7035, allocations: 22.48 kB / 0.6009 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.7038, allocations: 150.5 kB / 0.601 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.7041, allocations: 0.7205 MB / 0.6017 GB, free: 13.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7041, allocations: 0 / 0.6017 GB, free: 13.5 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat