Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008235/0.0008234, allocations: 100.4 kB / 16.96 MB, free: 5.953 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.0009345/0.0009346, allocations: 179.3 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8 kB / 301.5 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 50.41 MB / 351.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001838/0.1164, allocations: 1.311 MB / 353.2 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.1173, allocations: 491.2 kB / 353.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.1173, allocations: 7.938 kB / 353.7 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.1174, allocations: 3.984 kB / 353.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.1174, allocations: 31.77 kB / 353.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.1176, allocations: 15.98 kB / 353.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1178, allocations: 95.53 kB / 353.8 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1179, allocations: 27.95 kB / 353.8 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.118, allocations: 35.86 kB / 353.9 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.1181, allocations: 27.92 kB / 353.9 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1181, allocations: 4 kB / 353.9 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.941e-05/0.1182, allocations: 19.98 kB / 353.9 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.1182, allocations: 7.938 kB / 353.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1182, allocations: 45.64 kB / 354 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1184, allocations: 76.06 kB / 354 MB, free: 1.578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1184, allocations: 0 / 354 MB, free: 1.578 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1184, allocations: 0 / 354 MB, free: 1.578 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1184, allocations: 0 / 354 MB, free: 1.578 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004948/0.1189, allocations: 367.1 kB / 354.4 MB, free: 1.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1189, allocations: 8.031 kB / 354.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.1191, allocations: 19.84 kB / 354.4 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1193, allocations: 174.9 kB / 354.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1193, allocations: 8 kB / 354.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1193, allocations: 8 kB / 354.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1195, allocations: 92.3 kB / 354.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1196, allocations: 4 kB / 354.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1196, allocations: 0 / 354.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1196, allocations: 0 / 354.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1197, allocations: 51.97 kB / 354.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.1204, allocations: 400.6 kB / 355.2 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1205, allocations: 78.5 kB / 355.2 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.1206, allocations: 24.86 kB / 355.3 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1207, allocations: 8 kB / 355.3 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1207, allocations: 34.5 kB / 355.3 MB, free: 168 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1207, allocations: 0 / 355.3 MB, free: 168 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002333/0.121, allocations: 89.81 kB / 355.4 MB, free: 72 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.121, allocations: 51.41 kB / 355.4 MB, free: 8 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1211, allocations: 113.9 kB / 355.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1212, allocations: 25.7 kB / 355.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1212, allocations: 103.8 kB / 355.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1212, allocations: 31.64 kB / 355.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.1213, allocations: 0 / 355.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1214, allocations: 318.8 kB / 356 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.1215, allocations: 20 kB / 356 MB, free: 15.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.1215, allocations: 46.5 kB / 356.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.1216, allocations: 27.94 kB / 356.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1216, allocations: 4 kB / 356.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001655/0.1218, allocations: 113.4 kB / 356.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1218, allocations: 4 kB / 356.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1218, allocations: 4 kB / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1218, allocations: 0 / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1219, allocations: 27.98 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.122, allocations: 0 / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.122, allocations: 7.906 kB / 356.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.122, allocations: 4 kB / 356.3 MB, free: 15.12 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/0.1221, allocations: 125.8 kB / 356.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1221, allocations: 7.953 kB / 356.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.1222, allocations: 12.36 kB / 356.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1222, allocations: 0 / 356.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1222, allocations: 0 / 356.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1222, allocations: 3.984 kB / 356.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1224, allocations: 193.4 kB / 356.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1224, allocations: 0 / 356.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1225, allocations: 23.92 kB / 356.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1226, allocations: 7.953 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1226, allocations: 4 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1226, allocations: 0 / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1226, allocations: 0 / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1228, allocations: 195.7 kB / 356.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1229, allocations: 85.05 kB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1229, allocations: 3.953 kB / 356.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.1229, allocations: 8.062 kB / 356.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.123, allocations: 7.984 kB / 356.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.123, allocations: 4 kB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.123, allocations: 83.53 kB / 357 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.123, allocations: 0 / 357 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1233, allocations: 16 kB / 357 MB, free: 14.27 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001084/0.1234, allocations: 103.2 kB / 357.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.1235, allocations: 52.05 kB / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1235, allocations: 4 kB / 357.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.1236, allocations: 23.94 kB / 357.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.1238, allocations: 11.98 kB / 357.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.1244, allocations: 422.6 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1247, allocations: 0.6926 MB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.1248, allocations: 11.44 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1248, allocations: 4 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Templates: time 0.002684/0.1274, allocations: 0.9301 MB / 359.3 MB, free: 11.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.o] Error 1