Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Rotational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 90.53 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 198 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.635/1.635, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002598, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.006043/0.1306, allocations: 4.491 MB / 363.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.1344, allocations: 1.927 MB / 365.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.1348, allocations: 11.94 kB / 365.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.1352, allocations: 147.1 kB / 365.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008399/0.1361, allocations: 402 kB / 365.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009271/0.137, allocations: 391.4 kB / 366.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.1385, allocations: 1.499 MB / 367.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.1389, allocations: 253.7 kB / 367.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008532/0.1398, allocations: 0.6346 MB / 368.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.1406, allocations: 0.7397 MB / 369.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.1407, allocations: 68 kB / 369.3 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.1411, allocations: 151.9 kB / 369.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.1414, allocations: 291 kB / 369.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.1417, allocations: 217.1 kB / 370 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1427, allocations: 1.153 MB / 371.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1427, allocations: 3.938 kB / 371.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1427, allocations: 0 / 371.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1428, allocations: 0 / 371.1 MB, free: 1.727 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002908/0.1457, allocations: 1.448 MB / 372.6 MB, free: 232 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1457, allocations: 12.02 kB / 372.6 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005779/0.1463, allocations: 162.6 kB / 372.8 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.242/0.3883, allocations: 0.5871 MB / 373.3 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004039/0.3888, allocations: 202 kB / 373.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.3891, allocations: 109 kB / 373.6 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.3919, allocations: 1.243 MB / 374.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.392, allocations: 10.78 kB / 374.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.3921, allocations: 39.31 kB / 374.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.3922, allocations: 28.92 kB / 375 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.3952, allocations: 1.308 MB / 376.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006532/0.4017, allocations: 3.76 MB / 380 MB, free: 16.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.404, allocations: 1.093 MB / 381.1 MB, free: 16.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.4053, allocations: 0.6535 MB / 381.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.753e-05/0.4054, allocations: 24.02 kB / 381.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4055, allocations: 45.61 kB / 381.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=136): time 3.146e-06/0.4055, allocations: 0 / 381.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=148): time 0.01329/0.4188, allocations: 5.697 MB / 387.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.4189, allocations: 92.67 kB / 387.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/0.4197, allocations: 0.6183 MB / 388.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4198, allocations: 69.19 kB / 388.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.4201, allocations: 340.5 kB / 388.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.4205, allocations: 0.4902 MB / 389.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.4206, allocations: 38.7 kB / 389.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4207, allocations: 399.1 kB / 389.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.4218, allocations: 0.533 MB / 390.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.4229, allocations: 0.6777 MB / 390.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009558/0.4239, allocations: 481.6 kB / 391.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4239, allocations: 1.094 kB / 391.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003318/0.4272, allocations: 1.679 MB / 392.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4272, allocations: 5.969 kB / 392.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4273, allocations: 1.062 kB / 392.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.429, allocations: 0.778 MB / 393.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.43, allocations: 259.5 kB / 394 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.4319, allocations: 1.938 MB / 395.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.433, allocations: 213.5 kB / 396.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.4331, allocations: 53.92 kB / 396.2 MB, free: 8.059 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 (bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.ideal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 45,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004829/0.4336, allocations: 284.2 kB / 396.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.4338, allocations: 94.19 kB / 396.5 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.4341, allocations: 133.5 kB / 396.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4341, allocations: 15.53 kB / 396.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.4341, allocations: 0 / 396.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4341, allocations: 7.969 kB / 396.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005186/0.4393, allocations: 3.305 MB / 400 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4393, allocations: 0 / 400 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.4403, allocations: 263.7 kB / 400.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.4417, allocations: 0.7242 MB / 401 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/0.4418, allocations: 51.94 kB / 401 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.4436, allocations: 1.869 MB / 402.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4437, allocations: 4.031 kB / 402.9 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/0.4481, allocations: 2.472 MB / 405.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/0.4487, allocations: 323.6 kB / 405.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.4489, allocations: 36.11 kB / 405.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.4499, allocations: 219.8 kB / 405.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.4504, allocations: 236.8 kB / 406.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.4505, allocations: 59.94 kB / 406.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006102/0.4511, allocations: 442.8 kB / 406.7 MB, free: 14.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4511, allocations: 4 kB / 406.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009636/0.4521, allocations: 318.6 kB / 407 MB, free: 13.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,inertia4.w,lossyGear.phi_a,clutch.phi_rel,clutch.w_rel,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 23 (bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 12 (clutch.mode,clutch.startForward,brake.mode,brake.startForward,brake.startBackward,oneWayClutch.stuck,oneWayClutch.startForward,clutch.startBackward,lossyGear.mode,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,4 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009692/0.453, allocations: 430.3 kB / 407.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.4562, allocations: 1.443 MB / 408.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4563, allocations: 0 / 408.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.458, allocations: 0.8302 MB / 409.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.459, allocations: 187.3 kB / 409.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008088/0.4671, allocations: 3.927 MB / 413.8 MB, free: 7.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.4678, allocations: 1.043 MB / 414.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.4682, allocations: 99.36 kB / 414.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4682, allocations: 0 / 414.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of Templates: time 0.03105/0.4993, allocations: 20.67 MB / 435.6 MB, free: 1.172 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLosses.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.HeatLossesCalcHelperMain.o] Error 1