Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000925/0.000925, allocations: 188.6 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.057/1.057, allocations: 221.4 MB / 229.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 106 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08896/0.08985, allocations: 55.82 MB / 336.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.2664, allocations: 50.39 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07562/0.3421, allocations: 77.77 MB / 464.8 MB, free: 9.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.3423, allocations: 68.86 kB / 464.8 MB, free: 8.949 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.008136/0.3504, allocations: 3.297 MB / 468.1 MB, free: 5.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3505, allocations: 12 kB / 468.1 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.3505, allocations: 19.72 kB / 468.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3508, allocations: 214.8 kB / 468.4 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3508, allocations: 4 kB / 468.4 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3508, allocations: 15.91 kB / 468.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001871/0.351, allocations: 79.98 kB / 468.5 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3512, allocations: 117.4 kB / 468.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3512, allocations: 4.812 kB / 468.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3512, allocations: 0 / 468.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3513, allocations: 4 kB / 468.6 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.3521, allocations: 0.5599 MB / 469.2 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.3522, allocations: 79.52 kB / 469.2 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.3523, allocations: 36.86 kB / 469.3 MB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3523, allocations: 0 / 469.3 MB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3523, allocations: 38.8 kB / 469.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3523, allocations: 0 / 469.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001171/0.3535, allocations: 0.6903 MB / 470 MB, free: 3.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3535, allocations: 55.41 kB / 470.1 MB, free: 3.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.3537, allocations: 132.8 kB / 470.2 MB, free: 3.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3537, allocations: 29.64 kB / 470.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.3537, allocations: 128.3 kB / 470.3 MB, free: 3.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.3538, allocations: 59.11 kB / 470.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.3538, allocations: 0 / 470.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.3539, allocations: 322.8 kB / 470.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.354, allocations: 32.38 kB / 470.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.3541, allocations: 67.98 kB / 470.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.3541, allocations: 39.98 kB / 470.8 MB, free: 2.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3541, allocations: 0 / 470.8 MB, free: 2.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000294/0.3544, allocations: 178.8 kB / 471 MB, free: 2.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.3545, allocations: 4 kB / 471 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3545, allocations: 0 / 471 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.3546, allocations: 36.91 kB / 471.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3548, allocations: 45.16 kB / 471.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.3559, allocations: 1.356 MB / 472.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.356, allocations: 4 kB / 472.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.356, allocations: 9.109 kB / 472.5 MB, free: 0.9297 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 7.32e-05/0.3561, allocations: 104.9 kB / 472.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.3562, allocations: 19.88 kB / 472.6 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.3562, allocations: 12.75 kB / 472.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3562, allocations: 4 kB / 472.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3562, allocations: 0 / 472.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3562, allocations: 0 / 472.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006292/0.3569, allocations: 0.5229 MB / 473.1 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3569, allocations: 0 / 473.1 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3571, allocations: 35.91 kB / 473.2 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.3572, allocations: 28.84 kB / 473.2 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3572, allocations: 4.625 kB / 473.2 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009034/0.3581, allocations: 1.306 MB / 474.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3581, allocations: 6.922 kB / 474.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000364/0.3585, allocations: 307.2 kB / 474.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005146/0.359, allocations: 0.7193 MB / 475.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.3591, allocations: 93.17 kB / 475.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3591, allocations: 0 / 475.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3592, allocations: 8.125 kB / 475.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.3592, allocations: 7.984 kB / 475.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3593, allocations: 4.938 kB / 475.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.008e-05/0.3593, allocations: 102.5 kB / 475.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008028/0.3601, allocations: 36 kB / 475.8 MB, free: 13.39 MB / 362.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.0001124/0.3602, allocations: 104.3 kB / 475.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.3606, allocations: 221.5 kB / 476.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3606, allocations: 0 / 476.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.3608, allocations: 165.8 kB / 476.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.361, allocations: 22.44 kB / 476.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.3617, allocations: 342.3 kB / 476.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.362, allocations: 0.7542 MB / 477.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.362, allocations: 0 / 477.4 MB, free: 11.73 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat