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.1233/0.1233, allocations: 15.28 MB / 31.05 MB, free: 4.262 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.001131/0.001131, allocations: 111.5 kB / 36.03 MB, free: 3.355 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.002158/0.002158, allocations: 205 kB / 41.13 MB, free: 7.434 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.622/1.622, allocations: 222.9 MB / 268.9 MB, free: 7.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1706/0.1706, allocations: 23.35 MB / 346.6 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 99.83 kB / 418.1 MB, free: 30.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1478, allocations: 59.37 MB / 477.5 MB, free: 3.438 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.03431/0.1821, allocations: 20.86 MB / 498.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1834, allocations: 0.4948 MB / 498.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1835, allocations: 7.938 kB / 498.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1836, allocations: 15.91 kB / 498.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1837, allocations: 51.55 kB / 498.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.1839, allocations: 15.98 kB / 498.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1841, allocations: 151 kB / 499.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1842, allocations: 37.47 kB / 499.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.1843, allocations: 51.73 kB / 499.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1844, allocations: 51.77 kB / 499.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1844, allocations: 7.938 kB / 499.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.1845, allocations: 7.938 kB / 499.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.1845, allocations: 19.86 kB / 499.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.1846, allocations: 55.69 kB / 499.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1847, allocations: 87.75 kB / 499.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1847, allocations: 0 / 499.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1847, allocations: 0 / 499.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1848, allocations: 0 / 499.4 MB, free: 13.65 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.0006077/0.1854, allocations: 442.8 kB / 499.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1854, allocations: 8.594 kB / 499.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1855, allocations: 12.84 kB / 499.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1858, allocations: 223.9 kB / 0.4883 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1858, allocations: 4.375 kB / 0.4883 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1858, allocations: 8.375 kB / 0.4883 GB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.186, allocations: 77.92 kB / 0.4884 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.186, allocations: 4 kB / 0.4884 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.186, allocations: 8 kB / 0.4884 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.186, allocations: 0 / 0.4884 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.1861, allocations: 39.92 kB / 0.4885 GB, free: 12.75 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.0009494/0.1871, allocations: 483.2 kB / 0.4889 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1873, allocations: 66.56 kB / 0.489 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.1873, allocations: 28.97 kB / 0.489 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1873, allocations: 0 / 0.489 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1874, allocations: 34.5 kB / 0.4891 GB, free: 12.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1874, allocations: 0 / 0.4891 GB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002402/0.1876, allocations: 89.44 kB / 0.4891 GB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1877, allocations: 59.34 kB / 0.4892 GB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1879, allocations: 183.8 kB / 0.4894 GB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1879, allocations: 25.7 kB / 0.4894 GB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.188, allocations: 112 kB / 0.4895 GB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.188, allocations: 15.89 kB / 0.4895 GB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1881, allocations: 21.7 kB / 0.4895 GB, free: 11.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1882, allocations: 326.8 kB / 0.4899 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.1882, allocations: 8 kB / 0.4899 GB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.1883, allocations: 12 kB / 0.4899 GB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.1886, allocations: 72.83 kB / 0.4899 GB, free: 11.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1886, allocations: 0 / 0.4899 GB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000122/0.1887, allocations: 81.44 kB / 0.49 GB, free: 11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1888, allocations: 4 kB / 0.49 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1888, allocations: 0 / 0.49 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1888, allocations: 0 / 0.49 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.1889, allocations: 12.42 kB / 0.49 GB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1889, allocations: 15.88 kB / 0.49 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1889, allocations: 0 / 0.49 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.189, allocations: 4 kB / 0.4901 GB, free: 10.97 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.0001663/0.1891, allocations: 125.8 kB / 0.4902 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1892, allocations: 11.81 kB / 0.4902 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1892, allocations: 13 kB / 0.4902 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1892, allocations: 4 kB / 0.4902 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1893, allocations: 3.938 kB / 0.4902 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1893, allocations: 11.92 kB / 0.4902 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1895, allocations: 201.6 kB / 0.4904 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1895, allocations: 0 / 0.4904 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.1896, allocations: 4 kB / 0.4904 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1896, allocations: 0 / 0.4904 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1896, allocations: 8 kB / 0.4904 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1896, allocations: 0 / 0.4904 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1896, allocations: 3.938 kB / 0.4904 GB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1899, allocations: 191.4 kB / 0.4906 GB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.19, allocations: 96.89 kB / 0.4907 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1901, allocations: 0 / 0.4907 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.1901, allocations: 0 / 0.4907 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.1902, allocations: 7.922 kB / 0.4907 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.1902, allocations: 4 kB / 0.4907 GB, free: 10.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1903, allocations: 131.2 kB / 0.4908 GB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1903, allocations: 0 / 0.4908 GB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1905, allocations: 31.89 kB / 0.4909 GB, free: 10.04 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 9.72e-05/0.1906, allocations: 95.31 kB / 0.491 GB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1908, allocations: 28 kB / 0.491 GB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1908, allocations: 0 / 0.491 GB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.1908, allocations: 27.92 kB / 0.491 GB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.1913, allocations: 58.5 kB / 0.4911 GB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.192, allocations: 379.4 kB / 0.4914 GB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1923, allocations: 0.7009 MB / 0.4921 GB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.1924, allocations: 19.44 kB / 0.4921 GB, free: 8.676 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1924, allocations: 0 / 0.4921 GB, free: 8.676 MB / 366.1 MB Notification: Performance of Templates: time 0.003739/0.1961, allocations: 1.728 MB / 0.4938 GB, free: 6.965 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