Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.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) 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(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",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.001117/0.001117, allocations: 201.9 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.138/1.138, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008508/0.0008508, allocations: 86.16 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09547/0.09634, allocations: 56.91 MB / 343.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08596/0.1823, allocations: 51.47 MB / 394.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.3929, allocations: 78.58 MB / 473.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.3931, allocations: 66.44 kB / 473.4 MB, free: 13.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0077/0.4009, allocations: 3.364 MB / 476.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.4009, allocations: 12 kB / 476.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.4009, allocations: 15.81 kB / 476.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.4011, allocations: 218.4 kB / 477 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4011, allocations: 7.906 kB / 477 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.4012, allocations: 12 kB / 477 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000169/0.4014, allocations: 80.95 kB / 477.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.4015, allocations: 119.9 kB / 477.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4016, allocations: 0 / 477.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4016, allocations: 4.875 kB / 477.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4016, allocations: 4 kB / 477.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.4023, allocations: 0.5467 MB / 477.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.4024, allocations: 80.12 kB / 477.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.4025, allocations: 36.36 kB / 477.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.4025, allocations: 0 / 477.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.4025, allocations: 34.56 kB / 477.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.4025, allocations: 0 / 477.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001023/0.4035, allocations: 0.6951 MB / 478.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.479e-05/0.4036, allocations: 55.31 kB / 478.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.4036, allocations: 127.8 kB / 478.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.4037, allocations: 25.7 kB / 478.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.4037, allocations: 126.1 kB / 478.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.4037, allocations: 59.38 kB / 479 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.4037, allocations: 3.938 kB / 479 MB, free: 9.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.4038, allocations: 325.3 kB / 479.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.4039, allocations: 34.5 kB / 479.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.4039, allocations: 66.5 kB / 479.4 MB, free: 8.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.884e-05/0.404, allocations: 43.11 kB / 479.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.404, allocations: 0 / 479.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002673/0.4043, allocations: 175.5 kB / 479.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.4043, allocations: 4 kB / 479.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4043, allocations: 0 / 479.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.4045, allocations: 49 kB / 479.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.4047, allocations: 39.08 kB / 479.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008283/0.4055, allocations: 1.347 MB / 481 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.4056, allocations: 4 kB / 481 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4056, allocations: 9.688 kB / 481 MB, free: 7.195 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.4057, allocations: 104.9 kB / 481.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.4057, allocations: 19.88 kB / 481.2 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.4058, allocations: 11.88 kB / 481.2 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4058, allocations: 7.516 kB / 481.2 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4058, allocations: 0 / 481.2 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4058, allocations: 0 / 481.2 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.4063, allocations: 0.5266 MB / 481.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4063, allocations: 0 / 481.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.4065, allocations: 36.16 kB / 481.7 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.4066, allocations: 31.09 kB / 481.8 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4067, allocations: 0 / 481.8 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007032/0.4074, allocations: 1.306 MB / 483.1 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4074, allocations: 4.938 kB / 483.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003332/0.4077, allocations: 305 kB / 483.4 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004474/0.4082, allocations: 0.7243 MB / 484.1 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.4082, allocations: 89.94 kB / 484.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.4082, allocations: 0.6562 kB / 484.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4084, allocations: 8.734 kB / 484.2 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.4084, allocations: 8.312 kB / 484.2 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.4084, allocations: 7.188 kB / 484.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.278e-05/0.4085, allocations: 100.1 kB / 484.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008461/0.4093, allocations: 36.66 kB / 484.4 MB, free: 4.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.4094, allocations: 104.5 kB / 484.5 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.4098, allocations: 214.1 kB / 484.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4098, allocations: 0 / 484.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.41, allocations: 167.3 kB / 484.8 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.4102, allocations: 14.2 kB / 484.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.4108, allocations: 341 kB / 485.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.411, allocations: 0.7562 MB / 485.9 MB, free: 2.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.411, allocations: 0 / 485.9 MB, free: 2.59 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat