Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.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.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1297/0.1297, allocations: 15.26 MB / 31.19 MB, free: 4.348 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.001047/0.001047, allocations: 97.98 kB / 36.21 MB, free: 3.473 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.001373/0.001373, allocations: 177.2 kB / 41.34 MB, free: 7.52 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.594/1.594, allocations: 223.2 MB / 269.6 MB, free: 8.355 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1774/0.1774, allocations: 23.38 MB / 348.3 MB, free: 128 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005195, allocations: 16 kB / 420.9 MB, free: 30.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.143, allocations: 60.48 MB / 481.3 MB, free: 1.961 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.ThermalBody_QHP): time 0.03037/0.1734, allocations: 22.2 MB / 0.4917 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1754, allocations: 0.7946 MB / 0.4925 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.1757, allocations: 15.88 kB / 0.4925 GB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.1759, allocations: 63.52 kB / 0.4926 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.1762, allocations: 166.6 kB / 0.4928 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1765, allocations: 79.91 kB / 0.4928 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.177, allocations: 0.5441 MB / 0.4934 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.1773, allocations: 144.6 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1775, allocations: 151.4 kB / 0.4936 GB, free: 9.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1777, allocations: 195 kB / 0.4938 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.1777, allocations: 16 kB / 0.4938 GB, free: 9.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.1778, allocations: 16 kB / 0.4939 GB, free: 9.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.1779, allocations: 55.7 kB / 0.4939 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.1781, allocations: 236.6 kB / 0.4941 GB, free: 9.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1784, allocations: 319.1 kB / 0.4944 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1784, allocations: 0 / 0.4944 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1784, allocations: 4 kB / 0.4945 GB, free: 9.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1784, allocations: 0 / 0.4945 GB, free: 9.09 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009753/0.1794, allocations: 0.6583 MB / 0.4951 GB, free: 8.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1795, allocations: 12.59 kB / 0.4951 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.1795, allocations: 48.38 kB / 0.4952 GB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.1799, allocations: 331.7 kB / 0.4955 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.18, allocations: 20.94 kB / 0.4955 GB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.18, allocations: 32.28 kB / 0.4955 GB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.1805, allocations: 253.2 kB / 0.4958 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1805, allocations: 0 / 0.4958 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.1805, allocations: 12 kB / 0.4958 GB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-06/0.1806, allocations: 8 kB / 0.4958 GB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.1809, allocations: 190.2 kB / 0.496 GB, free: 7.445 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.001703/0.1826, allocations: 1.551 MB / 0.4975 GB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.183, allocations: 221.6 kB / 0.4977 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.1832, allocations: 149.3 kB / 0.4978 GB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1833, allocations: 240 / 0.4978 GB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1833, allocations: 38.8 kB / 0.4979 GB, free: 5.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 9.82e-07/0.1833, allocations: 0 / 0.4979 GB, free: 5.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006025/0.1839, allocations: 319.7 kB / 0.4982 GB, free: 4.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.184, allocations: 55.41 kB / 0.4982 GB, free: 4.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.1843, allocations: 325.7 kB / 0.4985 GB, free: 4.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1844, allocations: 33.64 kB / 0.4986 GB, free: 4.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1845, allocations: 188.7 kB / 0.4987 GB, free: 4.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/0.1846, allocations: 98.5 kB / 0.4988 GB, free: 4.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.1847, allocations: 33.64 kB / 0.4989 GB, free: 4.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1848, allocations: 350.7 kB / 0.4992 GB, free: 3.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1849, allocations: 63.98 kB / 0.4993 GB, free: 3.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1851, allocations: 79.95 kB / 0.4993 GB, free: 3.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.1862, allocations: 389.8 kB / 0.4997 GB, free: 3.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1862, allocations: 0 / 0.4997 GB, free: 3.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003892/0.1866, allocations: 265.4 kB / 0.5 GB, free: 3.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1866, allocations: 8 kB / 0.5 GB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1866, allocations: 0 / 0.5 GB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1866, allocations: 4 kB / 0.5 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1869, allocations: 51.91 kB / 0.5 GB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1869, allocations: 0 / 0.5 GB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.1871, allocations: 19.84 kB / 0.5001 GB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1871, allocations: 8 kB / 0.5001 GB, free: 2.969 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.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 (31): * Single equations (assignments): 31 * 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.0002778/0.1874, allocations: 177.9 kB / 0.5002 GB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.1875, allocations: 39.53 kB / 0.5003 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1876, allocations: 44.16 kB / 0.5003 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1876, allocations: 4 kB / 0.5003 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1876, allocations: 0 / 0.5003 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1876, allocations: 3.984 kB / 0.5003 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.1881, allocations: 405.2 kB / 0.5007 GB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1881, allocations: 0 / 0.5007 GB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.1884, allocations: 55.91 kB / 0.5008 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1884, allocations: 4 kB / 0.5008 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.1885, allocations: 4 kB / 0.5008 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1885, allocations: 0 / 0.5008 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1885, allocations: 4 kB / 0.5008 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.1891, allocations: 474.8 kB / 0.5012 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1893, allocations: 120.8 kB / 0.5013 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.1893, allocations: 8 kB / 0.5013 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1895, allocations: 23.83 kB / 0.5014 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1896, allocations: 15.98 kB / 0.5014 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1896, allocations: 4 kB / 0.5014 GB, free: 1.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.1898, allocations: 231.2 kB / 0.5016 GB, free: 1.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1898, allocations: 0 / 0.5016 GB, free: 1.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.1902, allocations: 95.84 kB / 0.5017 GB, free: 1.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.relativeHeat,GILumen.relativeHeat,skeletalMuscle.relativeHeat,skin.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 (27): * Single equations (assignments): 27 * 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.0001133/0.1903, allocations: 103.1 kB / 0.5018 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.1907, allocations: 211.7 kB / 0.502 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1907, allocations: 0 / 0.502 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1909, allocations: 111.8 kB / 0.5021 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.1916, allocations: 96.8 kB / 0.5022 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.193, allocations: 1.089 MB / 0.5033 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1934, allocations: 0.7914 MB / 0.504 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.1935, allocations: 23.44 kB / 0.5041 GB, free: 14.72 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1935, allocations: 0 / 0.5041 GB, free: 14.72 MB / 382.1 MB Notification: Performance of Templates: time 0.006209/0.1997, allocations: 4.311 MB / 0.5083 GB, free: 10.43 MB / 382.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.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.ThermalBody_QHPCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHPCalcHelperMain.o] Error 1