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.001578/0.001577, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.00155/0.001551, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.871/1.871, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.002033/0.002033, allocations: 55.91 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1332, allocations: 46.62 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006971/0.1402, allocations: 4.319 MB / 331.6 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.1443, allocations: 1.341 MB / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009517/0.1453, allocations: 11.94 kB / 332.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000694/0.1461, allocations: 87.31 kB / 333 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.1472, allocations: 198.4 kB / 333.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1487, allocations: 371.5 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.1504, allocations: 1.077 MB / 334.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.151, allocations: 231.1 kB / 334.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009923/0.152, allocations: 442.4 kB / 335.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009472/0.153, allocations: 498.1 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.1533, allocations: 56 kB / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.1538, allocations: 104 kB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.1541, allocations: 187.3 kB / 336.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006551/0.1548, allocations: 421.9 kB / 336.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008159/0.1556, allocations: 0.7559 MB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1556, allocations: 7.984 kB / 337.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1556, allocations: 0 / 337.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1557, allocations: 0 / 337.3 MB, free: 10.78 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.003378/0.159, allocations: 1.279 MB / 338.6 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1591, allocations: 8.031 kB / 338.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.1594, allocations: 95.89 kB / 338.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.16, allocations: 441.6 kB / 339.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.1601, allocations: 50.38 kB / 339.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1602, allocations: 68.38 kB / 339.2 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.162, allocations: 0.8116 MB / 340 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.1621, allocations: 7.891 kB / 340 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.1621, allocations: 31.94 kB / 340.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.1622, allocations: 19.98 kB / 340.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.1642, allocations: 0.8705 MB / 341 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004853/0.1691, allocations: 2.377 MB / 343.3 MB, free: 4.504 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1707, allocations: 0.7189 MB / 344.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/0.1717, allocations: 480.3 kB / 344.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/0.1718, allocations: 9 kB / 344.5 MB, free: 3.297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.1731, allocations: 0.5517 MB / 345.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.615e-06/0.1731, allocations: 0 / 345.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=106): time 0.01159/0.1847, allocations: 4.22 MB / 349.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.1848, allocations: 68.41 kB / 349.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.1853, allocations: 389.9 kB / 349.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.1854, allocations: 53.7 kB / 349.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.1857, allocations: 272.9 kB / 350.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.186, allocations: 359 kB / 350.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.1863, allocations: 186.8 kB / 350.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1865, allocations: 378.7 kB / 351 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009857/0.1875, allocations: 438.4 kB / 351.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.1886, allocations: 0.5267 MB / 351.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.1903, allocations: 0.7792 MB / 352.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1903, allocations: 4 kB / 352.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00309/0.1934, allocations: 1.35 MB / 354.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1934, allocations: 4 kB / 354.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1934, allocations: 4 kB / 354.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.1947, allocations: 0.6504 MB / 354.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/0.1955, allocations: 203.6 kB / 354.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/0.2, allocations: 3.263 MB / 358.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.2013, allocations: 175.9 kB / 358.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.2015, allocations: 36 kB / 358.4 MB, free: 4.992 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,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,5), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005107/0.202, allocations: 233.5 kB / 358.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2021, allocations: 75.09 kB / 358.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.2024, allocations: 103 kB / 358.8 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2024, allocations: 8 kB / 358.8 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.2024, allocations: 4 kB / 358.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2024, allocations: 7.922 kB / 358.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.2074, allocations: 2.523 MB / 361.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.2074, allocations: 4 kB / 361.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.2082, allocations: 180 kB / 361.5 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.2094, allocations: 0.6192 MB / 362.1 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.2095, allocations: 35.95 kB / 362.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.2135, allocations: 3.105 MB / 365.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2135, allocations: 0 / 365.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.2176, allocations: 1.844 MB / 367.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.2181, allocations: 236.1 kB / 367.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.2183, allocations: 32 kB / 367.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.2196, allocations: 207.7 kB / 367.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009802/0.2206, allocations: 364.4 kB / 367.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.2208, allocations: 47.95 kB / 368 MB, free: 11.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004215/0.2212, allocations: 271.1 kB / 368.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2212, allocations: 3.938 kB / 368.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001138/0.2223, allocations: 252 kB / 368.5 MB, free: 10.5 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004136/0.2228, allocations: 156.9 kB / 368.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.2258, allocations: 1.188 MB / 369.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2258, allocations: 0 / 369.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.2275, allocations: 0.7273 MB / 370.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009713/0.2285, allocations: 125.4 kB / 370.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.2333, allocations: 2.296 MB / 373 MB, free: 5.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.234, allocations: 0.9361 MB / 373.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.2343, allocations: 67.41 kB / 374 MB, free: 4.895 MB / 318.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2343, allocations: 0 / 374 MB, free: 4.895 MB / 318.1 MB Notification: Performance of Templates: time 0.239/0.4733, allocations: 17.46 MB / 391.5 MB, free: 48.51 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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