Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.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.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.134/0.134, 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.001092/0.001092, allocations: 97.83 kB / 36.21 MB, free: 3.445 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.001407/0.001407, allocations: 173.1 kB / 41.34 MB, free: 7.625 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.661/1.661, allocations: 223.2 MB / 269.6 MB, free: 8.449 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1402/0.1402, allocations: 23.38 MB / 348.3 MB, free: 0.8945 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005393/0.0005394, allocations: 16.56 kB / 420.9 MB, free: 30.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 60.48 MB / 481.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03584/0.1715, allocations: 34.58 MB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3199/0.4914, allocations: 17.48 MB / 0.5209 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.4921, allocations: 12.12 kB / 0.5209 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.4925, allocations: 85.81 kB / 0.521 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.4982, allocations: 1.657 MB / 0.5226 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005424/0.5036, allocations: 1.157 MB / 0.5238 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.5054, allocations: 0.829 MB / 0.5246 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.5066, allocations: 0.6976 MB / 0.5252 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.5099, allocations: 1.183 MB / 0.5264 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.511, allocations: 0.5884 MB / 0.527 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.5111, allocations: 59.84 kB / 0.527 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009647/0.5208, allocations: 2.517 MB / 0.5295 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.5212, allocations: 236.9 kB / 0.5297 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.5217, allocations: 321.5 kB / 0.53 GB, free: 14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.5266, allocations: 2.003 MB / 0.532 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5266, allocations: 0.75 kB / 0.532 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 5e-06/0.5266, allocations: 6.516 kB / 0.532 GB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5266, allocations: 3.656 kB / 0.532 GB, free: 13.89 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002674/0.5293, allocations: 0.9315 MB / 0.5329 GB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5294, allocations: 10.81 kB / 0.5329 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.5295, allocations: 36.72 kB / 0.5329 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.5301, allocations: 401.7 kB / 0.5333 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.5301, allocations: 20.2 kB / 0.5333 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.301e-05/0.5302, allocations: 24.16 kB / 0.5334 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.5313, allocations: 0.6049 MB / 0.534 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5313, allocations: 0.5625 kB / 0.534 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/0.5314, allocations: 8.875 kB / 0.534 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5314, allocations: 7.094 kB / 0.534 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5329, allocations: 0.8745 MB / 0.5348 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.5357, allocations: 1.459 MB / 0.5363 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.5364, allocations: 338 kB / 0.5366 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.5369, allocations: 304.5 kB / 0.5369 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.5371, allocations: 133.5 kB / 0.537 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5371, allocations: 33.38 kB / 0.537 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008337/0.538, allocations: 163.6 kB / 0.5372 GB, free: 12.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 3.486e-06/0.538, allocations: 0 / 0.5372 GB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.009547/0.5476, allocations: 2.166 MB / 0.5393 GB, free: 12.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5476, allocations: 54.16 kB / 0.5393 GB, free: 12.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.5482, allocations: 366.2 kB / 0.5397 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.5483, allocations: 30.58 kB / 0.5397 GB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.5484, allocations: 161.7 kB / 0.5399 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.5486, allocations: 107 kB / 0.54 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.5486, allocations: 29.67 kB / 0.54 GB, free: 11.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5487, allocations: 345.3 kB / 0.5403 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.5492, allocations: 239.2 kB / 0.5406 GB, free: 11.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.5496, allocations: 227.2 kB / 0.5408 GB, free: 11.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.5504, allocations: 0.508 MB / 0.5413 GB, free: 11.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5505, allocations: 3.938 kB / 0.5413 GB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002079/0.5525, allocations: 0.9456 MB / 0.5422 GB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5526, allocations: 5.719 kB / 0.5422 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5526, allocations: 0 / 0.5422 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01691/0.5695, allocations: 2.734 MB / 0.5449 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.5696, allocations: 3.344 kB / 0.5449 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/0.5726, allocations: 1.526 MB / 0.5464 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.5731, allocations: 3.438 kB / 0.5464 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.5732, allocations: 38.89 kB / 0.5464 GB, free: 9.672 MB / 382.1 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.5734, allocations: 157.2 kB / 0.5466 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.5735, allocations: 42.73 kB / 0.5466 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.5755, allocations: 1.085 MB / 0.5477 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.5755, allocations: 7.125 kB / 0.5477 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-06/0.5755, allocations: 0 / 0.5477 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5755, allocations: 5.953 kB / 0.5477 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.5778, allocations: 1.75 MB / 0.5494 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5779, allocations: 0 / 0.5494 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.5779, allocations: 9.219 kB / 0.5494 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005153/0.583, allocations: 1.417 MB / 0.5508 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.5831, allocations: 10.8 kB / 0.5508 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.5852, allocations: 1.551 MB / 0.5523 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5853, allocations: 3 kB / 0.5523 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.5866, allocations: 0.9912 MB / 0.5533 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.5869, allocations: 161.7 kB / 0.5534 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.587, allocations: 6.938 kB / 0.5534 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.5873, allocations: 6.969 kB / 0.5534 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5874, allocations: 19.28 kB / 0.5535 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.5874, allocations: 16 kB / 0.5535 GB, free: 5.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003235/0.5878, allocations: 264 kB / 0.5537 GB, free: 5.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5878, allocations: 2.969 kB / 0.5537 GB, free: 5.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002505/0.5903, allocations: 0.5823 MB / 0.5543 GB, free: 5.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002207/0.5925, allocations: 1.053 MB / 0.5553 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.5947, allocations: 0.7338 MB / 0.556 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5947, allocations: 0 / 0.556 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.5957, allocations: 462.4 kB / 0.5565 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5971, allocations: 275.8 kB / 0.5568 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.5985, allocations: 1.059 MB / 0.5578 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.5988, allocations: 0.8067 MB / 0.5586 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.5989, allocations: 27.42 kB / 0.5586 GB, free: 1.508 MB / 382.1 MB Notification: Performance of SimCode: time 2.275e-06/0.5989, allocations: 0 / 0.5586 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Templates: time 0.02227/0.6212, allocations: 14.42 MB / 0.5727 GB, free: 3.184 MB / 398.1 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.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.Fluid.Examples.MeanRespirationCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Fluid.Examples.MeanRespirationCalcHelperMain.o] Error 1