Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007753/0.0007752, allocations: 89.33 kB / 17.58 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008294/0.0008295, allocations: 181.1 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 224.6 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005016, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004099/0.1138, allocations: 3.718 MB / 332.7 MB, free: 340 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.1164, allocations: 1.279 MB / 334 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.1167, allocations: 19.94 kB / 334 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.117, allocations: 83.31 kB / 334.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1174, allocations: 194.4 kB / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.1183, allocations: 335.4 kB / 334.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1193, allocations: 1.002 MB / 335.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.1198, allocations: 195.4 kB / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.1203, allocations: 414.6 kB / 336.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.1209, allocations: 462.3 kB / 336.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.121, allocations: 44 kB / 336.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.1212, allocations: 99.95 kB / 336.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.1214, allocations: 171.4 kB / 337 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1216, allocations: 161.3 kB / 337.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007119/0.1223, allocations: 0.7439 MB / 337.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1223, allocations: 0 / 337.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1223, allocations: 0 / 337.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1223, allocations: 4 kB / 337.9 MB, free: 11.13 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002851/0.1252, allocations: 1.224 MB / 339.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1253, allocations: 8.031 kB / 339.1 MB, free: 9.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.1255, allocations: 90.95 kB / 339.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.1262, allocations: 424.7 kB / 339.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.1263, allocations: 54 kB / 339.7 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.1264, allocations: 71.91 kB / 339.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.1281, allocations: 0.8193 MB / 340.5 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.1281, allocations: 3.984 kB / 340.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.1282, allocations: 28 kB / 340.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.1283, allocations: 20 kB / 340.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.1302, allocations: 0.8978 MB / 341.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.1347, allocations: 2.459 MB / 343.9 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.1361, allocations: 0.7192 MB / 344.7 MB, free: 4.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009127/0.1371, allocations: 492.3 kB / 345.1 MB, free: 3.609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.1371, allocations: 9 kB / 345.2 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.1383, allocations: 0.5672 MB / 345.7 MB, free: 3.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 3.096e-06/0.1383, allocations: 0 / 345.7 MB, free: 3.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=106): time 0.01054/0.1489, allocations: 4.47 MB / 350.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.149, allocations: 64.41 kB / 350.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.1494, allocations: 389.8 kB / 350.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.685e-05/0.1495, allocations: 61.7 kB / 350.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.1498, allocations: 269 kB / 351 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.1501, allocations: 358.8 kB / 351.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.1502, allocations: 20 kB / 351.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1504, allocations: 378.8 kB / 351.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000911/0.1513, allocations: 446.4 kB / 352.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1523, allocations: 0.55 MB / 352.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.1534, allocations: 390.3 kB / 353.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1534, allocations: 0 / 353.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003002/0.1564, allocations: 1.369 MB / 354.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.1565, allocations: 4 kB / 354.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1565, allocations: 3.938 kB / 354.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.1577, allocations: 0.6504 MB / 355.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.1584, allocations: 211.7 kB / 355.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/0.163, allocations: 3.306 MB / 358.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.1642, allocations: 239.8 kB / 358.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.1643, allocations: 35.98 kB / 358.9 MB, free: 5.457 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004572/0.1648, allocations: 229.5 kB / 359.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.1649, allocations: 67.25 kB / 359.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.1651, allocations: 103 kB / 359.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1651, allocations: 12 kB / 359.3 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1652, allocations: 0 / 359.3 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.1652, allocations: 7.969 kB / 359.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/0.1696, allocations: 2.547 MB / 361.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.1696, allocations: 7.984 kB / 361.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.1704, allocations: 188 kB / 362 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.1715, allocations: 0.6232 MB / 362.6 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.1716, allocations: 35.95 kB / 362.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.1751, allocations: 3.132 MB / 365.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.1751, allocations: 4 kB / 365.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.1789, allocations: 1.88 MB / 367.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.1794, allocations: 232.1 kB / 367.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.1796, allocations: 31.95 kB / 368 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.1808, allocations: 275.7 kB / 368.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009506/0.1818, allocations: 432.1 kB / 368.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-05/0.1819, allocations: 39.97 kB / 368.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.1822, allocations: 271.1 kB / 369 MB, free: 11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1822, allocations: 0 / 369 MB, free: 11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008939/0.1831, allocations: 244 kB / 369.2 MB, free: 10.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003395/0.1835, allocations: 168.7 kB / 369.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.1861, allocations: 1.208 MB / 370.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1861, allocations: 0 / 370.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.1876, allocations: 0.7467 MB / 371.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000858/0.1884, allocations: 132.8 kB / 371.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/0.1928, allocations: 2.405 MB / 373.8 MB, free: 6.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.1935, allocations: 0.9322 MB / 374.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.1938, allocations: 67.41 kB / 374.8 MB, free: 5 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1938, allocations: 0 / 374.8 MB, free: 5 MB / 318.1 MB Notification: Performance of Templates: time 0.2223/0.4161, allocations: 17.36 MB / 392.2 MB, free: 48 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.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_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.o] Error 1