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.00109/0.00109, allocations: 92.27 kB / 17.95 MB, free: 5.43 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.00136/0.00136, allocations: 176.3 kB / 18.86 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 2.017/2.017, allocations: 205.4 MB / 225 MB, free: 12.86 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.0005954/0.000595, allocations: 15.12 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.14, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002363/0.1424, allocations: 1.339 MB / 330.9 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1435, allocations: 0.5036 MB / 331.4 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.1436, allocations: 4 kB / 331.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.1437, allocations: 7.922 kB / 331.5 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1438, allocations: 23.83 kB / 331.5 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.144, allocations: 31.91 kB / 331.5 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1442, allocations: 95.53 kB / 331.6 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1444, allocations: 31.97 kB / 331.6 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.1445, allocations: 23.94 kB / 331.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1446, allocations: 39.83 kB / 331.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1446, allocations: 8 kB / 331.7 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1447, allocations: 8 kB / 331.7 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.1448, allocations: 15.92 kB / 331.7 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.043e-05/0.1449, allocations: 65.5 kB / 331.8 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.145, allocations: 76.06 kB / 331.9 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1451, allocations: 0 / 331.9 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1451, allocations: 4 kB / 331.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1451, allocations: 0 / 331.9 MB, free: 1.445 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.000593/0.1457, allocations: 367.4 kB / 332.2 MB, free: 1.039 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1457, allocations: 8.031 kB / 332.2 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.1459, allocations: 8.844 kB / 332.2 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1461, allocations: 176.2 kB / 332.4 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1461, allocations: 4.375 kB / 332.4 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1462, allocations: 12.28 kB / 332.4 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.1464, allocations: 89.98 kB / 332.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1464, allocations: 0 / 332.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1464, allocations: 4 kB / 332.5 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1465, allocations: 4 kB / 332.5 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1466, allocations: 51.91 kB / 332.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.1474, allocations: 408.4 kB / 333 MB, free: 200 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1476, allocations: 74.55 kB / 333.1 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.1476, allocations: 32.78 kB / 333.1 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1476, allocations: 7.984 kB / 333.1 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1477, allocations: 34.56 kB / 333.1 MB, free: 28 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.1477, allocations: 0 / 333.1 MB, free: 28 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003212/0.148, allocations: 93.72 kB / 333.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1481, allocations: 55.39 kB / 333.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.1482, allocations: 105.8 kB / 333.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1482, allocations: 29.64 kB / 333.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.1483, allocations: 111.8 kB / 333.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1483, allocations: 23.66 kB / 333.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1484, allocations: 21.7 kB / 333.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1485, allocations: 314.8 kB / 333.9 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1486, allocations: 27.98 kB / 333.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.1487, allocations: 42.56 kB / 333.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1488, allocations: 66.45 kB / 334 MB, free: 15.08 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1488, allocations: 0 / 334 MB, free: 15.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001705/0.149, allocations: 109.5 kB / 334.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.149, allocations: 12.06 kB / 334.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.149, allocations: 3.938 kB / 334.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.149, allocations: 3.938 kB / 334.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1492, allocations: 20 kB / 334.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1492, allocations: 8.25 kB / 334.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.1493, allocations: 11.89 kB / 334.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1493, allocations: 0 / 334.2 MB, free: 14.91 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 0.0001004/0.1494, allocations: 121.8 kB / 334.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1494, allocations: 8 kB / 334.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.1495, allocations: 8.375 kB / 334.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1495, allocations: 7.938 kB / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1495, allocations: 0 / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1495, allocations: 0 / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1497, allocations: 185.5 kB / 334.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1498, allocations: 0 / 334.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.1499, allocations: 19.98 kB / 334.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1499, allocations: 0 / 334.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1499, allocations: 4 kB / 334.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1499, allocations: 15.88 kB / 334.5 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1499, allocations: 3.984 kB / 334.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1502, allocations: 187.5 kB / 334.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1503, allocations: 81.02 kB / 334.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1503, allocations: 4 kB / 334.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1504, allocations: 12.16 kB / 334.8 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1504, allocations: 3.984 kB / 334.8 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1504, allocations: 8.062 kB / 334.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.1505, allocations: 87.28 kB / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 0 / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1507, allocations: 23.94 kB / 334.9 MB, free: 14.05 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.0001096/0.1509, allocations: 99.19 kB / 335 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.151, allocations: 51.97 kB / 335.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.151, allocations: 4 kB / 335.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.1511, allocations: 23.94 kB / 335.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1514, allocations: 8.125 kB / 335.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.1521, allocations: 414.6 kB / 335.5 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1525, allocations: 0.7004 MB / 336.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.1526, allocations: 11.44 kB / 336.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1526, allocations: 0 / 336.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of Templates: time 0.002868/0.1554, allocations: 0.9417 MB / 337.2 MB, free: 11.74 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