Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",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.001002/0.001002, allocations: 204.5 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.084/1.084, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008403/0.0008403, allocations: 97.03 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1514/0.1514, allocations: 45.13 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1753/0.3267, allocations: 69.39 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.4049, allocations: 63.25 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.6344, allocations: 90.01 MB / 0.5918 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.6346, allocations: 77.64 kB / 0.5918 GB, free: 12.82 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.01765/0.6523, allocations: 7.23 MB / 0.5989 GB, free: 6.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.6523, allocations: 8 kB / 0.5989 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.6524, allocations: 19.81 kB / 0.5989 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.6527, allocations: 227 kB / 0.5992 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6527, allocations: 4 kB / 0.5992 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.6527, allocations: 4 kB / 0.5992 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.953e-05/0.6528, allocations: 38.88 kB / 0.5992 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.6529, allocations: 60.98 kB / 0.5993 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.653, allocations: 0 / 0.5993 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.653, allocations: 7.844 kB / 0.5993 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.653, allocations: 0 / 0.5993 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.6534, allocations: 317.5 kB / 0.5996 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.6535, allocations: 48.39 kB / 0.5996 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.6536, allocations: 23.55 kB / 0.5996 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.6536, allocations: 0 / 0.5996 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.64e-05/0.6537, allocations: 69.83 kB / 0.5997 GB, free: 5.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.6537, allocations: 4 kB / 0.5997 GB, free: 5.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004994/0.6542, allocations: 214.8 kB / 0.5999 GB, free: 5.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.6542, allocations: 55.41 kB / 0.6 GB, free: 5.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.6545, allocations: 229.2 kB / 0.6002 GB, free: 5.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.6545, allocations: 25.7 kB / 0.6002 GB, free: 5.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.6545, allocations: 95 kB / 0.6003 GB, free: 5.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.6546, allocations: 43.27 kB / 0.6003 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.6546, allocations: 0 / 0.6003 GB, free: 5.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6547, allocations: 333.4 kB / 0.6007 GB, free: 5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.6548, allocations: 29.88 kB / 0.6007 GB, free: 4.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.6548, allocations: 47.52 kB / 0.6007 GB, free: 4.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.6549, allocations: 34.8 kB / 0.6008 GB, free: 4.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.6549, allocations: 0 / 0.6008 GB, free: 4.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001926/0.6551, allocations: 132.2 kB / 0.6009 GB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6551, allocations: 8 kB / 0.6009 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6551, allocations: 0 / 0.6009 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.6551, allocations: 4.031 kB / 0.6009 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.6552, allocations: 23.98 kB / 0.6009 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6553, allocations: 7.844 kB / 0.6009 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.6553, allocations: 4 kB / 0.6009 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6553, allocations: 12.02 kB / 0.6009 GB, free: 4.754 MB / 394.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 (14): * Single equations (assignments): 14 * 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.759e-05/0.6554, allocations: 101 kB / 0.601 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.6554, allocations: 19.8 kB / 0.6011 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.6557, allocations: 174.5 kB / 0.6012 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.6557, allocations: 0 / 0.6012 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6557, allocations: 0 / 0.6012 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.6557, allocations: 4 kB / 0.6012 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.6562, allocations: 461.6 kB / 0.6017 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6562, allocations: 3.984 kB / 0.6017 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.6563, allocations: 19.5 kB / 0.6017 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.6563, allocations: 8.062 kB / 0.6017 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.6563, allocations: 0 / 0.6017 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6563, allocations: 4 kB / 0.6017 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6563, allocations: 3.984 kB / 0.6017 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002286/0.6566, allocations: 257.1 kB / 0.602 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003774/0.6569, allocations: 0.6406 MB / 0.6026 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.657, allocations: 104.1 kB / 0.6027 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.6571, allocations: 8 kB / 0.6027 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.6572, allocations: 4 kB / 0.6027 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.6572, allocations: 10.61 kB / 0.6027 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.6572, allocations: 4 kB / 0.6027 GB, free: 2.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001534/0.6574, allocations: 187.8 kB / 0.6029 GB, free: 2.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008233/0.6582, allocations: 53.75 kB / 0.6029 GB, free: 2.754 MB / 394.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 (14): * Single equations (assignments): 12 * 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.0006803/0.6589, allocations: 381.9 kB / 0.6033 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.6591, allocations: 93.31 kB / 0.6034 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6591, allocations: 0 / 0.6034 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.6591, allocations: 50.23 kB / 0.6034 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.6594, allocations: 22.36 kB / 0.6035 GB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.6599, allocations: 249.2 kB / 0.6037 GB, free: 2.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.6602, allocations: 0.7576 MB / 0.6044 GB, free: 1.32 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6602, allocations: 4 kB / 0.6044 GB, free: 1.316 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat