Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001707/0.001707, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.1 MB / 224.6 MB, free: 12.37 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.001222/0.001222, allocations: 47.94 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 46.64 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.004223/0.1376, allocations: 1.678 MB / 328.9 MB, free: 3.191 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1388, allocations: 0.5153 MB / 329.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.139, allocations: 4 kB / 329.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.311e-05/0.1391, allocations: 7.922 kB / 329.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.1392, allocations: 27.77 kB / 329.5 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1394, allocations: 23.98 kB / 329.5 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1396, allocations: 99.48 kB / 329.6 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1398, allocations: 35.95 kB / 329.6 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.1399, allocations: 31.92 kB / 329.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.14, allocations: 35.84 kB / 329.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.14, allocations: 8 kB / 329.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1401, allocations: 8 kB / 329.7 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.1401, allocations: 23.91 kB / 329.7 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.1402, allocations: 43.8 kB / 329.8 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1404, allocations: 72.11 kB / 329.8 MB, free: 2.254 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1404, allocations: 4 kB / 329.9 MB, free: 2.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1404, allocations: 0 / 329.9 MB, free: 2.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1404, allocations: 0 / 329.9 MB, free: 2.25 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006567/0.1411, allocations: 379.4 kB / 330.2 MB, free: 1.832 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.1411, allocations: 8.031 kB / 330.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.1413, allocations: 12.84 kB / 330.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1415, allocations: 176.2 kB / 330.4 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1415, allocations: 8.375 kB / 330.4 MB, free: 1.594 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.1416, allocations: 12.38 kB / 330.4 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1418, allocations: 85.94 kB / 330.5 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1418, allocations: 0 / 330.5 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1419, allocations: 8 kB / 330.5 MB, free: 1.484 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1419, allocations: 3.938 kB / 330.5 MB, free: 1.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.142, allocations: 51.97 kB / 330.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.1428, allocations: 408.4 kB / 331 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.143, allocations: 74.48 kB / 331.1 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.249e-05/0.143, allocations: 36.84 kB / 331.1 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1431, allocations: 7.984 kB / 331.1 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1431, allocations: 30.56 kB / 331.1 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 2.805e-06/0.1431, allocations: 4 kB / 331.1 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.000247/0.1434, allocations: 85.62 kB / 331.2 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1434, allocations: 51.41 kB / 331.3 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1435, allocations: 109.8 kB / 331.4 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1436, allocations: 33.64 kB / 331.4 MB, free: 0.5 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.1436, allocations: 103.9 kB / 331.5 MB, free: 404 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1437, allocations: 27.56 kB / 331.5 MB, free: 376 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.1438, allocations: 33.64 kB / 331.6 MB, free: 336 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1439, allocations: 318.8 kB / 331.9 MB, free: 8 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.144, allocations: 24.22 kB / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-05/0.144, allocations: 42.56 kB / 331.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1441, allocations: 62.48 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1442, allocations: 4 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001697/0.1443, allocations: 105.6 kB / 332.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1444, allocations: 11.94 kB / 332.1 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1444, allocations: 3.938 kB / 332.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1444, allocations: 3.938 kB / 332.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1445, allocations: 23.98 kB / 332.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1445, allocations: 4 kB / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.1446, allocations: 7.906 kB / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1446, allocations: 4 kB / 332.2 MB, free: 15.69 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.1447, allocations: 125.8 kB / 332.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1448, allocations: 4 kB / 332.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.1448, allocations: 8.375 kB / 332.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1448, allocations: 7.938 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1448, allocations: 0 / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1448, allocations: 3.984 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.1451, allocations: 181.6 kB / 332.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1451, allocations: 0 / 332.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1452, allocations: 23.98 kB / 332.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1452, allocations: 0 / 332.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1453, allocations: 8 kB / 332.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1453, allocations: 3.938 kB / 332.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1453, allocations: 256 / 332.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1455, allocations: 195.4 kB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.1456, allocations: 81.02 kB / 332.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1456, allocations: 12.03 kB / 332.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.1457, allocations: 3.938 kB / 332.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.1457, allocations: 8.047 kB / 332.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1458, allocations: 4 kB / 332.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.909e-05/0.1458, allocations: 83.28 kB / 332.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 332.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1461, allocations: 31.84 kB / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.1462, allocations: 95.23 kB / 333 MB, free: 14.72 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.1464, allocations: 55.92 kB / 333.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1464, allocations: 0 / 333.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.1465, allocations: 28.12 kB / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1468, allocations: 3.984 kB / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.1477, allocations: 374.1 kB / 333.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1481, allocations: 0.6926 MB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1481, allocations: 11.44 kB / 334.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1481, allocations: 0 / 334.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of Templates: time 0.002923/0.1511, allocations: 0.9501 MB / 335.1 MB, free: 12.56 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.o] Error 1