Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) 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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1394/0.1394, allocations: 15.27 MB / 31.2 MB, free: 4.488 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007144/0.0007145, allocations: 98.09 kB / 36.21 MB, free: 3.438 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 173.1 kB / 41.34 MB, free: 7.629 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.2 MB / 269.6 MB, free: 8.301 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1747/0.1747, allocations: 23.39 MB / 348.3 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005113, allocations: 20 kB / 420.9 MB, free: 30.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.144, allocations: 60.47 MB / 481.3 MB, free: 2.043 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.MuscleHeat): time 0.02688/0.171, allocations: 20.51 MB / 0.4901 GB, free: 13.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1721, allocations: 494.8 kB / 0.4906 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1722, allocations: 11.94 kB / 0.4906 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.1723, allocations: 19.84 kB / 0.4906 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1724, allocations: 47.61 kB / 0.4906 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.1726, allocations: 19.92 kB / 0.4907 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1728, allocations: 151 kB / 0.4908 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1729, allocations: 33.45 kB / 0.4908 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.173, allocations: 43.8 kB / 0.4909 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1731, allocations: 51.73 kB / 0.4909 GB, free: 12.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1731, allocations: 4 kB / 0.4909 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.1731, allocations: 4 kB / 0.4909 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.1732, allocations: 23.84 kB / 0.491 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.1733, allocations: 77.39 kB / 0.491 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.1734, allocations: 87.72 kB / 0.4911 GB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1734, allocations: 0 / 0.4911 GB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1734, allocations: 0 / 0.4911 GB, free: 12.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1734, allocations: 0 / 0.4911 GB, free: 12.61 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005373/0.174, allocations: 419 kB / 0.4915 GB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.174, allocations: 8.594 kB / 0.4915 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.1741, allocations: 16.75 kB / 0.4915 GB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1743, allocations: 228 kB / 0.4918 GB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1743, allocations: 4.375 kB / 0.4918 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1744, allocations: 12.31 kB / 0.4918 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1745, allocations: 77.92 kB / 0.4918 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1745, allocations: 7.938 kB / 0.4918 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1746, allocations: 4 kB / 0.4919 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1746, allocations: 4 kB / 0.4919 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.1747, allocations: 35.98 kB / 0.4919 GB, free: 11.72 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.1753, allocations: 483.2 kB / 0.4924 GB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1754, allocations: 58.56 kB / 0.4924 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.1755, allocations: 28.97 kB / 0.4924 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1755, allocations: 3.938 kB / 0.4924 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1755, allocations: 34.56 kB / 0.4925 GB, free: 11.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1755, allocations: 0 / 0.4925 GB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002102/0.1758, allocations: 85.5 kB / 0.4926 GB, free: 10.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1758, allocations: 55.34 kB / 0.4926 GB, free: 10.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.176, allocations: 183.8 kB / 0.4928 GB, free: 10.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.176, allocations: 29.7 kB / 0.4928 GB, free: 10.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.1761, allocations: 104.1 kB / 0.4929 GB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1761, allocations: 31.77 kB / 0.4929 GB, free: 10.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.1761, allocations: 9.719 kB / 0.4929 GB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1763, allocations: 326.8 kB / 0.4933 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.1763, allocations: 11.94 kB / 0.4933 GB, free: 10.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.1763, allocations: 19.94 kB / 0.4933 GB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1766, allocations: 72.83 kB / 0.4934 GB, free: 10.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1766, allocations: 4 kB / 0.4934 GB, free: 10.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000107/0.1767, allocations: 69.59 kB / 0.4934 GB, free: 9.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1767, allocations: 4 kB / 0.4934 GB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1768, allocations: 4 kB / 0.4934 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1768, allocations: 0 / 0.4934 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.1769, allocations: 11.94 kB / 0.4934 GB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1769, allocations: 3.938 kB / 0.4935 GB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.1769, allocations: 11.89 kB / 0.4935 GB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.1769, allocations: 4.438 kB / 0.4935 GB, free: 9.945 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false start = muscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001607/0.1771, allocations: 117.8 kB / 0.4936 GB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1771, allocations: 15.81 kB / 0.4936 GB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1772, allocations: 20.98 kB / 0.4936 GB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1772, allocations: 0 / 0.4936 GB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1772, allocations: 3.938 kB / 0.4936 GB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1772, allocations: 0 / 0.4936 GB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1774, allocations: 205.6 kB / 0.4938 GB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1775, allocations: 0 / 0.4938 GB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.1775, allocations: 12 kB / 0.4938 GB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1775, allocations: 3.984 kB / 0.4938 GB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1776, allocations: 0 / 0.4938 GB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1776, allocations: 3.938 kB / 0.4938 GB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1776, allocations: 3.938 kB / 0.4938 GB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1778, allocations: 183.4 kB / 0.494 GB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1778, allocations: 100.9 kB / 0.4941 GB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1779, allocations: 4 kB / 0.4941 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.178, allocations: 0 / 0.4941 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.178, allocations: 7.938 kB / 0.4941 GB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.178, allocations: 0 / 0.4941 GB, free: 9.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1781, allocations: 135.2 kB / 0.4942 GB, free: 9.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1781, allocations: 0 / 0.4942 GB, free: 9.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1783, allocations: 24 kB / 0.4943 GB, free: 9.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.relativeHeat) * 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 (5): * Single equations (assignments): 5 * 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 8.184e-05/0.1784, allocations: 91.19 kB / 0.4944 GB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1785, allocations: 43.92 kB / 0.4944 GB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1785, allocations: 3.938 kB / 0.4944 GB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.1786, allocations: 16 kB / 0.4944 GB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.179, allocations: 59.3 kB / 0.4945 GB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.1796, allocations: 419.6 kB / 0.4949 GB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1799, allocations: 0.7087 MB / 0.4956 GB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.18, allocations: 19.44 kB / 0.4956 GB, free: 7.613 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.18, allocations: 0 / 0.4956 GB, free: 7.613 MB / 366.1 MB Notification: Performance of Templates: time 0.003454/0.1834, allocations: 1.707 MB / 0.4973 GB, free: 5.922 MB / 366.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.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 OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.MuscleHeatCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.MuscleHeatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.MuscleHeatCalcHelperMain.o] Error 1