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.0009418/0.0009418, allocations: 90.88 kB / 17.58 MB, free: 5.758 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.0008668/0.0008668, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.691/1.691, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004931/0.0004933, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 47.57 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001611/0.1099, allocations: 1.312 MB / 330.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.1106, allocations: 0.4922 MB / 330.8 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.1107, allocations: 0 / 330.8 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.1107, allocations: 7.984 kB / 330.8 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.1108, allocations: 23.77 kB / 330.8 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.111, allocations: 23.98 kB / 330.8 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1111, allocations: 91.53 kB / 330.9 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1112, allocations: 31.95 kB / 330.9 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.1113, allocations: 31.86 kB / 331 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.1113, allocations: 31.91 kB / 331 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1114, allocations: 4 kB / 331 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.1114, allocations: 19.94 kB / 331 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1115, allocations: 8 kB / 331 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.1115, allocations: 45.62 kB / 331.1 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1116, allocations: 76.06 kB / 331.2 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1116, allocations: 0 / 331.2 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1116, allocations: 0 / 331.2 MB, free: 1.863 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1116, allocations: 4 kB / 331.2 MB, free: 1.859 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.000472/0.1121, allocations: 363.2 kB / 331.5 MB, free: 1.457 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1122, allocations: 8.031 kB / 331.5 MB, free: 1.449 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1123, allocations: 11.91 kB / 331.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1124, allocations: 163 kB / 331.7 MB, free: 1.238 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1125, allocations: 23.88 kB / 331.7 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1125, allocations: 12 kB / 331.7 MB, free: 1.203 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.1127, allocations: 73.67 kB / 331.8 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1127, allocations: 3.906 kB / 331.8 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1128, allocations: 8 kB / 331.8 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1128, allocations: 7.938 kB / 331.8 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1129, allocations: 59.88 kB / 331.9 MB, free: 1.047 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.1135, allocations: 396.6 kB / 332.3 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1137, allocations: 70.55 kB / 332.3 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.1137, allocations: 36.8 kB / 332.4 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.1138, allocations: 3.984 kB / 332.4 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.1138, allocations: 38.56 kB / 332.4 MB, free: 452 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 2.766e-06/0.1138, allocations: 3.984 kB / 332.4 MB, free: 448 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002004/0.114, allocations: 81.83 kB / 332.5 MB, free: 360 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1141, allocations: 55.41 kB / 332.6 MB, free: 292 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1142, allocations: 101.8 kB / 332.7 MB, free: 180 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1143, allocations: 37.64 kB / 332.7 MB, free: 136 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.1143, allocations: 103.9 kB / 332.8 MB, free: 28 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.1144, allocations: 27.56 kB / 332.8 MB, free: 0 / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.1144, allocations: 4.047 kB / 332.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1145, allocations: 326.7 kB / 333.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.1146, allocations: 19.94 kB / 333.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.1146, allocations: 46.56 kB / 333.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.1147, allocations: 31.98 kB / 333.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1147, allocations: 0 / 333.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001544/0.1149, allocations: 113.4 kB / 333.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1149, allocations: 6.656 kB / 333.4 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1149, allocations: 0 / 333.4 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1149, allocations: 4 kB / 333.4 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1151, allocations: 23.98 kB / 333.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1151, allocations: 0 / 333.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.1151, allocations: 11.91 kB / 333.4 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1152, allocations: 7.938 kB / 333.4 MB, free: 15.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1153, allocations: 125.8 kB / 333.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1153, allocations: 4 kB / 333.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.1153, allocations: 16.36 kB / 333.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1153, allocations: 0 / 333.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1153, allocations: 0 / 333.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1154, allocations: 0 / 333.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1156, allocations: 185.6 kB / 333.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1156, allocations: 3.984 kB / 333.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.1157, allocations: 16 kB / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1157, allocations: 4 kB / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1157, allocations: 0 / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1157, allocations: 4 kB / 333.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1157, allocations: 0 / 333.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1159, allocations: 199.3 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.116, allocations: 81.02 kB / 334 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.116, allocations: 4.281 kB / 334 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.116, allocations: 7.984 kB / 334 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.1161, allocations: 8 kB / 334 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1161, allocations: 4.062 kB / 334.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.1161, allocations: 83.27 kB / 334.1 MB, free: 14.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1161, allocations: 3.938 kB / 334.1 MB, free: 14.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1164, allocations: 27.94 kB / 334.2 MB, free: 14.54 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 (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.0001072/0.1165, allocations: 91.25 kB / 334.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1166, allocations: 63.86 kB / 334.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1166, allocations: 0 / 334.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.1167, allocations: 24.05 kB / 334.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.117, allocations: 16.5 kB / 334.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.1176, allocations: 414.6 kB / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1179, allocations: 0.6926 MB / 335.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.1179, allocations: 11.44 kB / 335.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1179, allocations: 0 / 335.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of Templates: time 0.002239/0.1201, allocations: 0.9337 MB / 336.4 MB, free: 12.24 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++ 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_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