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.0009307/0.0009307, allocations: 92.33 kB / 17.96 MB, free: 5.621 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.001189/0.001189, allocations: 183.7 kB / 18.86 MB, free: 4.766 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.956/1.956, allocations: 205.4 MB / 225 MB, free: 13 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.0007721/0.0007722, allocations: 12 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1273, allocations: 47.59 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005171/0.1325, allocations: 3.918 MB / 333.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.136, allocations: 1.334 MB / 334.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.1368, allocations: 11.94 kB / 334.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.1372, allocations: 79.33 kB / 334.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.1381, allocations: 194.4 kB / 335.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1395, allocations: 379.5 kB / 335.5 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.141, allocations: 1.077 MB / 336.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.1415, allocations: 227.1 kB / 336.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008782/0.1424, allocations: 422.5 kB / 337.2 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.143, allocations: 478.1 kB / 337.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1431, allocations: 48 kB / 337.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.1434, allocations: 103.9 kB / 337.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.1437, allocations: 171.3 kB / 338 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.1441, allocations: 427.6 kB / 338.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.145, allocations: 0.7363 MB / 339.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.145, allocations: 0 / 339.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.145, allocations: 0 / 339.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1451, allocations: 4 kB / 339.2 MB, free: 10.14 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.003279/0.1483, allocations: 1.221 MB / 340.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1484, allocations: 8.031 kB / 340.4 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.1487, allocations: 91.91 kB / 340.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.1493, allocations: 449.5 kB / 340.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.1494, allocations: 50.38 kB / 341 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.1496, allocations: 72.28 kB / 341 MB, free: 8.176 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.1515, allocations: 0.8233 MB / 341.9 MB, free: 7.348 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.1515, allocations: 7.984 kB / 341.9 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.732e-05/0.1516, allocations: 28 kB / 341.9 MB, free: 7.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.1516, allocations: 16 kB / 341.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.1537, allocations: 0.9017 MB / 342.8 MB, free: 6.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.1585, allocations: 2.447 MB / 345.3 MB, free: 3.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.1602, allocations: 0.7461 MB / 346 MB, free: 3.062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.1613, allocations: 488.3 kB / 346.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.417e-05/0.1614, allocations: 12.98 kB / 346.5 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.1628, allocations: 0.575 MB / 347.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 3.818e-06/0.1628, allocations: 0 / 347.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=106): time 0.01216/0.175, allocations: 4.474 MB / 351.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1751, allocations: 64.41 kB / 351.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.1757, allocations: 389.8 kB / 352 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.1758, allocations: 57.69 kB / 352 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.1761, allocations: 265 kB / 352.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.1766, allocations: 366.9 kB / 352.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1767, allocations: 85.67 kB / 352.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.177, allocations: 378.8 kB / 353.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.178, allocations: 454.4 kB / 353.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.1792, allocations: 0.55 MB / 354.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.181, allocations: 0.8065 MB / 354.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.181, allocations: 0 / 354.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003242/0.1843, allocations: 1.385 MB / 356.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1843, allocations: 4 kB / 356.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1843, allocations: 4 kB / 356.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.1856, allocations: 0.6504 MB / 357 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.1864, allocations: 199.7 kB / 357.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.1908, allocations: 3.314 MB / 360.5 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.1921, allocations: 247.9 kB / 360.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.1922, allocations: 35.98 kB / 360.7 MB, free: 3.875 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.0004461/0.1927, allocations: 225.5 kB / 361 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.1928, allocations: 79.09 kB / 361 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1931, allocations: 107 kB / 361.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.1931, allocations: 8 kB / 361.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.1931, allocations: 0 / 361.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.1931, allocations: 3.984 kB / 361.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.1979, allocations: 2.562 MB / 363.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.1979, allocations: 4 kB / 363.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/0.1987, allocations: 183.9 kB / 363.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.1998, allocations: 0.6311 MB / 364.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/0.1999, allocations: 31.97 kB / 364.6 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/0.2039, allocations: 3.131 MB / 367.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2039, allocations: 8 kB / 367.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.208, allocations: 1.887 MB / 369.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.2085, allocations: 236 kB / 369.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.2086, allocations: 32 kB / 369.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.21, allocations: 275.7 kB / 370.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008443/0.2109, allocations: 368.4 kB / 370.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.211, allocations: 39.95 kB / 370.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003194/0.2113, allocations: 275.1 kB / 370.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2113, allocations: 0 / 370.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008695/0.2122, allocations: 248 kB / 371 MB, free: 9.203 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.0003416/0.2125, allocations: 156.9 kB / 371.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.2152, allocations: 1.22 MB / 372.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2152, allocations: 4.25 kB / 372.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.2168, allocations: 0.7465 MB / 373.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.2178, allocations: 125.4 kB / 373.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.2225, allocations: 2.491 MB / 375.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.2232, allocations: 0.9322 MB / 376.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.2234, allocations: 71.34 kB / 376.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2234, allocations: 0 / 376.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of Templates: time 0.2611/0.4845, allocations: 17.36 MB / 394.1 MB, free: 47.39 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