Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",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.0009528/0.0009528, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.086/1.086, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008415/0.0008416, allocations: 92.52 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1519/0.1519, allocations: 45.14 MB / 383.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.3269, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.406, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.6342, allocations: 90.07 MB / 0.5918 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.6344, allocations: 76.14 kB / 0.5919 GB, free: 12.66 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01794/0.6524, allocations: 7.306 MB / 0.599 GB, free: 6.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.6524, allocations: 12 kB / 0.599 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.6525, allocations: 15.81 kB / 0.5991 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.6528, allocations: 240.7 kB / 0.5993 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.6529, allocations: 0 / 0.5993 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.6529, allocations: 7.5 kB / 0.5993 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.538e-05/0.653, allocations: 42.59 kB / 0.5993 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.6531, allocations: 70.89 kB / 0.5994 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6531, allocations: 0 / 0.5994 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6531, allocations: 0 / 0.5994 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.6531, allocations: 0 / 0.5994 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.6535, allocations: 322 kB / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.6537, allocations: 48.33 kB / 0.5998 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.6538, allocations: 23.36 kB / 0.5998 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.6538, allocations: 4.141 kB / 0.5998 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.228e-05/0.6539, allocations: 80.83 kB / 0.5999 GB, free: 5.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.6539, allocations: 0 / 0.5999 GB, free: 5.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005312/0.6544, allocations: 228.2 kB / 0.6001 GB, free: 5.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.6545, allocations: 51.97 kB / 0.6001 GB, free: 5.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.6547, allocations: 229.9 kB / 0.6003 GB, free: 5.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.6547, allocations: 33.69 kB / 0.6004 GB, free: 5.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.6547, allocations: 98.83 kB / 0.6005 GB, free: 5.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.6548, allocations: 46.27 kB / 0.6005 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.6548, allocations: 4 kB / 0.6005 GB, free: 5.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6549, allocations: 333.5 kB / 0.6008 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.655, allocations: 34.06 kB / 0.6009 GB, free: 4.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.655, allocations: 55.77 kB / 0.6009 GB, free: 4.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.628e-05/0.6551, allocations: 42.05 kB / 0.601 GB, free: 4.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6551, allocations: 0 / 0.601 GB, free: 4.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002239/0.6553, allocations: 148.9 kB / 0.6011 GB, free: 4.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.6554, allocations: 12.02 kB / 0.6011 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6554, allocations: 0 / 0.6011 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.6554, allocations: 4 kB / 0.6011 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6555, allocations: 27.92 kB / 0.6012 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6555, allocations: 4 kB / 0.6012 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.6556, allocations: 0 / 0.6012 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.6556, allocations: 15.45 kB / 0.6012 GB, free: 4.441 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 (16): * Single equations (assignments): 16 * 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.224e-05/0.6557, allocations: 105 kB / 0.6013 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.6557, allocations: 15.81 kB / 0.6013 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.656, allocations: 177.4 kB / 0.6015 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.656, allocations: 7.906 kB / 0.6015 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.656, allocations: 0 / 0.6015 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.656, allocations: 0 / 0.6015 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.6566, allocations: 494.2 kB / 0.6019 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6566, allocations: 4.031 kB / 0.6019 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.6567, allocations: 23.98 kB / 0.602 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6567, allocations: 0 / 0.602 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.6567, allocations: 7.5 kB / 0.602 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-06/0.6567, allocations: 7.844 kB / 0.602 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6567, allocations: 0 / 0.602 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002476/0.657, allocations: 276.9 kB / 0.6022 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003488/0.6573, allocations: 0.6514 MB / 0.6029 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.6574, allocations: 100.7 kB / 0.603 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.6574, allocations: 4 kB / 0.603 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.6575, allocations: 7.984 kB / 0.603 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.6576, allocations: 23.33 kB / 0.603 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.6576, allocations: 7.938 kB / 0.603 GB, free: 2.566 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001482/0.6577, allocations: 184.8 kB / 0.6032 GB, free: 2.422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008663/0.6586, allocations: 47.3 kB / 0.6032 GB, free: 2.379 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 (16): * Single equations (assignments): 14 * 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.0006741/0.6593, allocations: 389 kB / 0.6036 GB, free: 2.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.6595, allocations: 92.8 kB / 0.6037 GB, free: 2.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.6595, allocations: 0 / 0.6037 GB, free: 2.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.6596, allocations: 50.5 kB / 0.6037 GB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6598, allocations: 23.09 kB / 0.6038 GB, free: 1.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.6603, allocations: 262.6 kB / 0.604 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.6606, allocations: 0.7574 MB / 0.6048 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6606, allocations: 0 / 0.6048 GB, free: 0.9336 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat