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.1295/0.1295, allocations: 15.28 MB / 31.05 MB, free: 4.387 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.00126/0.00126, allocations: 111.2 kB / 36.03 MB, free: 3.441 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.001603/0.001603, allocations: 205 kB / 41.13 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.596/1.596, allocations: 222.9 MB / 268.9 MB, free: 7.215 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.2054/0.2054, allocations: 23.35 MB / 346.6 MB, free: 484 kB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003003/0.003003, allocations: 108.2 kB / 418.1 MB, free: 30.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1482, allocations: 59.37 MB / 477.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.05838/0.2066, allocations: 35.18 MB / 0.5006 GB, free: 120 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3354/0.5421, allocations: 17.69 MB / 0.5179 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006383/0.5428, allocations: 16.72 kB / 0.5179 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.5433, allocations: 94.8 kB / 0.518 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006191/0.5496, allocations: 1.65 MB / 0.5196 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00531/0.5549, allocations: 1.159 MB / 0.5208 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.5568, allocations: 0.8304 MB / 0.5216 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.558, allocations: 0.6956 MB / 0.5223 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.5618, allocations: 1.194 MB / 0.5234 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.5628, allocations: 0.5889 MB / 0.524 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.563, allocations: 61.28 kB / 0.5241 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.5733, allocations: 2.524 MB / 0.5265 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.574, allocations: 238.5 kB / 0.5268 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.5747, allocations: 298.2 kB / 0.527 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005875/0.5806, allocations: 2.014 MB / 0.529 GB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.5807, allocations: 0 / 0.529 GB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5807, allocations: 0.5312 kB / 0.529 GB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.5807, allocations: 0 / 0.529 GB, free: 13.99 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.00393/0.5846, allocations: 1.063 MB / 0.53 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.5847, allocations: 11.19 kB / 0.5301 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.5849, allocations: 34.66 kB / 0.5301 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007952/0.5857, allocations: 408 kB / 0.5305 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.5858, allocations: 14.88 kB / 0.5305 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.5859, allocations: 25.45 kB / 0.5305 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.5873, allocations: 0.6057 MB / 0.5311 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5873, allocations: 0 / 0.5311 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.5874, allocations: 10.47 kB / 0.5311 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5874, allocations: 5.375 kB / 0.5311 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.5896, allocations: 0.8763 MB / 0.532 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.593, allocations: 1.443 MB / 0.5334 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.5937, allocations: 334.6 kB / 0.5337 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.5944, allocations: 310.2 kB / 0.534 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/0.5948, allocations: 130.7 kB / 0.5341 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.5948, allocations: 41.5 kB / 0.5342 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/0.5959, allocations: 163.3 kB / 0.5343 GB, free: 12.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 3.887e-06/0.5959, allocations: 0 / 0.5343 GB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.00984/0.6057, allocations: 2.131 MB / 0.5364 GB, free: 12.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.6058, allocations: 58.97 kB / 0.5365 GB, free: 12.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.6064, allocations: 367.6 kB / 0.5368 GB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.6064, allocations: 30.83 kB / 0.5368 GB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.6065, allocations: 161.9 kB / 0.537 GB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.6067, allocations: 103.8 kB / 0.5371 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.6068, allocations: 86.7 kB / 0.5372 GB, free: 11.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.607, allocations: 348.7 kB / 0.5375 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.6074, allocations: 232.7 kB / 0.5377 GB, free: 11.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.6079, allocations: 231.9 kB / 0.538 GB, free: 11.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6089, allocations: 0.513 MB / 0.5385 GB, free: 11.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.609, allocations: 5.469 kB / 0.5385 GB, free: 11.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002399/0.6114, allocations: 0.9439 MB / 0.5394 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.6114, allocations: 5.5 kB / 0.5394 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6114, allocations: 3.094 kB / 0.5394 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01743/0.6289, allocations: 2.688 MB / 0.542 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.629, allocations: 13.84 kB / 0.542 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.6327, allocations: 1.521 MB / 0.5435 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.6333, allocations: 6.422 kB / 0.5435 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/0.6334, allocations: 28.3 kB / 0.5435 GB, free: 10.03 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.0003525/0.6337, allocations: 160.9 kB / 0.5437 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.6339, allocations: 38.94 kB / 0.5437 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.6361, allocations: 1.094 MB / 0.5448 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.6361, allocations: 6.359 kB / 0.5448 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6361, allocations: 0 / 0.5448 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6361, allocations: 5.438 kB / 0.5448 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.6387, allocations: 1.748 MB / 0.5465 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6387, allocations: 0 / 0.5465 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.6388, allocations: 6.391 kB / 0.5465 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/0.6443, allocations: 1.389 MB / 0.5479 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.6443, allocations: 10.78 kB / 0.5479 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.6466, allocations: 1.543 MB / 0.5494 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6467, allocations: 0 / 0.5494 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.6481, allocations: 0.989 MB / 0.5504 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.6484, allocations: 156.8 kB / 0.5505 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.6486, allocations: 4 kB / 0.5505 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.649, allocations: 11.06 kB / 0.5505 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6491, allocations: 24.42 kB / 0.5506 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.6491, allocations: 16.7 kB / 0.5506 GB, free: 5.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.6494, allocations: 268.2 kB / 0.5508 GB, free: 5.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6495, allocations: 0 / 0.5508 GB, free: 5.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002502/0.652, allocations: 0.5802 MB / 0.5514 GB, free: 5.43 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.003606/0.6556, allocations: 1.043 MB / 0.5524 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.6582, allocations: 0.7437 MB / 0.5531 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6582, allocations: 0 / 0.5531 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.6593, allocations: 460.9 kB / 0.5536 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.6611, allocations: 276.1 kB / 0.5538 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.6627, allocations: 1.021 MB / 0.5548 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.663, allocations: 0.8076 MB / 0.5556 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.6631, allocations: 23.44 kB / 0.5557 GB, free: 1.484 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.6631, allocations: 1.531 kB / 0.5557 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Templates: time 0.0242/0.6873, allocations: 14.49 MB / 0.5698 GB, free: 3.098 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