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.1294/0.1294, allocations: 15.28 MB / 31.05 MB, free: 4.363 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.001291/0.001291, allocations: 107.5 kB / 36.03 MB, free: 3.434 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.001652/0.001652, allocations: 201.1 kB / 41.12 MB, free: 7.523 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.59/1.59, allocations: 222.9 MB / 268.9 MB, free: 7.234 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1557/0.1557, allocations: 23.36 MB / 346.6 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 107.8 kB / 418.1 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1594, allocations: 59.37 MB / 477.5 MB, free: 3.461 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.0358/0.1953, allocations: 22.59 MB / 0.4883 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1971, allocations: 0.8101 MB / 0.4891 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1974, allocations: 11.94 kB / 0.4891 GB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1976, allocations: 63.47 kB / 0.4892 GB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.1979, allocations: 162.6 kB / 0.4894 GB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1981, allocations: 75.94 kB / 0.4894 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.1986, allocations: 0.5441 MB / 0.49 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.1989, allocations: 148.6 kB / 0.4901 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1991, allocations: 175.3 kB / 0.4903 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1993, allocations: 203 kB / 0.4905 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.1994, allocations: 24 kB / 0.4905 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.1995, allocations: 24 kB / 0.4905 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.1995, allocations: 59.7 kB / 0.4906 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.1998, allocations: 230.9 kB / 0.4908 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.2001, allocations: 327.1 kB / 0.4911 GB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2001, allocations: 4 kB / 0.4911 GB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2001, allocations: 0 / 0.4911 GB, free: 10.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2001, allocations: 0 / 0.4911 GB, free: 10.14 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.001069/0.2012, allocations: 0.7283 MB / 0.4918 GB, free: 9.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2012, allocations: 8.594 kB / 0.4918 GB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.653e-05/0.2013, allocations: 48.38 kB / 0.4919 GB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.2017, allocations: 331.8 kB / 0.4922 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.2017, allocations: 20.94 kB / 0.4922 GB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.2018, allocations: 36.36 kB / 0.4922 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.2022, allocations: 253.2 kB / 0.4925 GB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2023, allocations: 4 kB / 0.4925 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2023, allocations: 11.94 kB / 0.4925 GB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2023, allocations: 8 kB / 0.4925 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.2027, allocations: 190.2 kB / 0.4927 GB, free: 8.418 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.001791/0.2045, allocations: 1.544 MB / 0.4942 GB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.2049, allocations: 219.2 kB / 0.4944 GB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.2051, allocations: 152.3 kB / 0.4945 GB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2051, allocations: 4.234 kB / 0.4946 GB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.2052, allocations: 38.8 kB / 0.4946 GB, free: 6.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.343e-06/0.2052, allocations: 0 / 0.4946 GB, free: 6.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005889/0.2058, allocations: 311.7 kB / 0.4949 GB, free: 5.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.2058, allocations: 55.41 kB / 0.4949 GB, free: 5.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.2062, allocations: 329.6 kB / 0.4953 GB, free: 5.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2062, allocations: 29.7 kB / 0.4953 GB, free: 5.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2063, allocations: 196.6 kB / 0.4955 GB, free: 5.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/0.2064, allocations: 98.5 kB / 0.4956 GB, free: 5.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.2065, allocations: 49.7 kB / 0.4956 GB, free: 5.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2067, allocations: 350.7 kB / 0.4959 GB, free: 4.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2068, allocations: 63.97 kB / 0.496 GB, free: 4.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2069, allocations: 71.97 kB / 0.4961 GB, free: 4.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2081, allocations: 389.8 kB / 0.4964 GB, free: 4.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2081, allocations: 0 / 0.4964 GB, free: 4.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004144/0.2085, allocations: 265.4 kB / 0.4967 GB, free: 4.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2086, allocations: 4 kB / 0.4967 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2086, allocations: 7.938 kB / 0.4967 GB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2086, allocations: 3.938 kB / 0.4967 GB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.2089, allocations: 47.97 kB / 0.4968 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2089, allocations: 3.984 kB / 0.4968 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.2091, allocations: 23.75 kB / 0.4968 GB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2091, allocations: 16 kB / 0.4968 GB, free: 3.922 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.0002488/0.2094, allocations: 163.9 kB / 0.497 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.2094, allocations: 39.53 kB / 0.497 GB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.294e-05/0.2095, allocations: 48.14 kB / 0.497 GB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2095, allocations: 11.98 kB / 0.4971 GB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2096, allocations: 0 / 0.4971 GB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2096, allocations: 4 kB / 0.4971 GB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.21, allocations: 409.2 kB / 0.4974 GB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2101, allocations: 0 / 0.4974 GB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.2103, allocations: 47.91 kB / 0.4975 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2104, allocations: 4 kB / 0.4975 GB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2104, allocations: 4 kB / 0.4975 GB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.2104, allocations: 0 / 0.4975 GB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2104, allocations: 3.938 kB / 0.4975 GB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.2113, allocations: 478.9 kB / 0.498 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.2115, allocations: 128.7 kB / 0.4981 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.2115, allocations: 8 kB / 0.4981 GB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2117, allocations: 15.92 kB / 0.4981 GB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2118, allocations: 15.97 kB / 0.4981 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2118, allocations: 4 kB / 0.4981 GB, free: 2.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.212, allocations: 235.2 kB / 0.4984 GB, free: 2.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.212, allocations: 0 / 0.4984 GB, free: 2.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.2124, allocations: 95.84 kB / 0.4984 GB, free: 2.152 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.0001159/0.2125, allocations: 107.1 kB / 0.4985 GB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.2129, allocations: 199.8 kB / 0.4987 GB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2129, allocations: 0 / 0.4987 GB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.213, allocations: 111.9 kB / 0.4988 GB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.2137, allocations: 97.42 kB / 0.4989 GB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.215, allocations: 1.008 MB / 0.4999 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2154, allocations: 0.7914 MB / 0.5007 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.545e-05/0.2155, allocations: 23.44 kB / 0.5007 GB, free: 15.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2155, allocations: 4 kB / 0.5007 GB, free: 15.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006051/0.2216, allocations: 4.367 MB / 0.505 GB, free: 11.41 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