Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo) 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(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",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.002819/0.002819, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.205/1.205, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0009145/0.0009146, allocations: 102.1 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03916/0.03916, allocations: 8.84 MB / 339.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2012/0.2404, allocations: 58.49 MB / 398.2 MB, free: 67.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.3227, allocations: 52.4 MB / 450.6 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.6052, allocations: 90.38 MB / 0.5283 GB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.6056, allocations: 84.58 kB / 0.5284 GB, free: 2.996 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.1811/0.7866, allocations: 66.01 MB / 0.5929 GB, free: 7.938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7867, allocations: 8 kB / 0.5929 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009813/0.7965, allocations: 1.606 MB / 0.5944 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006353/0.8029, allocations: 1.778 MB / 0.5962 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.8032, allocations: 96 kB / 0.5963 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002181/0.8054, allocations: 171.9 kB / 0.5964 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01199/0.8174, allocations: 5.669 MB / 0.602 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.8345, allocations: 7.443 MB / 0.6092 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.8348, allocations: 19.78 kB / 0.6093 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.836, allocations: 12 kB / 0.6093 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.8377, allocations: 0.9467 MB / 0.6102 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04705/0.8847, allocations: 25.39 MB / 0.635 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.8871, allocations: 1.308 MB / 0.6363 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.8885, allocations: 0.9393 MB / 0.6372 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006523/0.895, allocations: 4.504 MB / 0.6416 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.8951, allocations: 51.81 kB / 0.6416 GB, free: 4.492 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 4.188e-06/0.8951, allocations: 0 / 0.6416 GB, free: 4.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=170): time 0.1791/1.074, allocations: 5.962 MB / 0.6474 GB, free: 176.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.074, allocations: 66.75 kB / 0.6475 GB, free: 176.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/1.077, allocations: 1.918 MB / 0.6494 GB, free: 175.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002239/1.077, allocations: 25.7 kB / 0.6494 GB, free: 175.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/1.078, allocations: 2.07 MB / 0.6514 GB, free: 174.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/1.079, allocations: 0.6067 MB / 0.652 GB, free: 174.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.079, allocations: 0 / 0.652 GB, free: 174.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002566/1.079, allocations: 0.5314 MB / 0.6525 GB, free: 174 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/1.081, allocations: 1.322 MB / 0.6538 GB, free: 174 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/1.083, allocations: 3.588 MB / 0.6573 GB, free: 171 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/1.086, allocations: 2.248 MB / 0.6595 GB, free: 171 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.349e-05/1.086, allocations: 21.72 kB / 0.6596 GB, free: 171 MB / 458.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.006974/1.093, allocations: 4.684 MB / 0.6641 GB, free: 170.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.093, allocations: 3.969 kB / 0.6641 GB, free: 170.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.957e-05/1.093, allocations: 78.66 kB / 0.6642 GB, free: 170.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/1.094, allocations: 300.7 kB / 0.6645 GB, free: 170.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/1.097, allocations: 0.9397 MB / 0.6654 GB, free: 170.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/1.099, allocations: 2.49 MB / 0.6678 GB, free: 169.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.102, allocations: 95.48 kB / 0.6679 GB, free: 169.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004976/1.103, allocations: 254.8 kB / 0.6682 GB, free: 169.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 366 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (517): * Single equations (assignments): 511 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005615/1.103, allocations: 310.8 kB / 0.6685 GB, free: 169 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/1.104, allocations: 199.9 kB / 0.6687 GB, free: 168.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/1.107, allocations: 2.072 MB / 0.6707 GB, free: 168.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001216/1.107, allocations: 21.41 kB / 0.6707 GB, free: 168.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.107, allocations: 6.812 kB / 0.6707 GB, free: 168.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.107, allocations: 7.453 kB / 0.6707 GB, free: 168.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008267/1.115, allocations: 5.041 MB / 0.6756 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.115, allocations: 7.438 kB / 0.6756 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.116, allocations: 240.5 kB / 0.6759 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005203/1.117, allocations: 167.1 kB / 0.676 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/1.117, allocations: 13.59 kB / 0.6761 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/1.119, allocations: 2.099 MB / 0.6781 GB, free: 166.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.119, allocations: 2.469 kB / 0.6781 GB, free: 166.8 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003986/1.123, allocations: 3.383 MB / 0.6814 GB, free: 165.9 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004947/1.128, allocations: 4.905 MB / 0.6862 GB, free: 163.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/1.128, allocations: 278.8 kB / 0.6865 GB, free: 163.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/1.129, allocations: 3.656 kB / 0.6865 GB, free: 163.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007984/1.129, allocations: 22.05 kB / 0.6865 GB, free: 163.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.13, allocations: 83.42 kB / 0.6866 GB, free: 163.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.937e-05/1.13, allocations: 49.64 kB / 0.6866 GB, free: 163.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001725/1.131, allocations: 1.286 MB / 0.6879 GB, free: 162.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003442/1.135, allocations: 0.6162 MB / 0.6885 GB, free: 162.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 130 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000375/1.135, allocations: 175 kB / 0.6886 GB, free: 162.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004108/1.139, allocations: 3.267 MB / 0.6918 GB, free: 161.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.139, allocations: 3.75 kB / 0.6918 GB, free: 161.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/1.141, allocations: 1.122 MB / 0.6929 GB, free: 160.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.142, allocations: 197.5 kB / 0.6931 GB, free: 160.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.152, allocations: 5.549 MB / 0.6985 GB, free: 158.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003137/1.156, allocations: 2.879 MB / 0.7013 GB, free: 156.6 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/1.156, allocations: 0 / 0.7013 GB, free: 156.6 MB / 458.7 MB (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)