Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.87/0.87, allocations: 150.9 MB / 166.6 MB, free: 14.35 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 15.97 kB / 204.7 MB, free: 9.66 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2018, allocations: 31.33 MB / 236 MB, free: 5.504 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.815/2.017, allocations: 292.6 MB / 0.5162 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2249/2.242, allocations: 188.4 MB / 0.7002 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/2.242, allocations: 4 kB / 0.7002 GB, free: 1.094 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/PipePressureLoss.mo:33:3-34:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/PipePressureLoss.mo:35:3-36:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001318/2.242, allocations: 28.7 kB / 0.7002 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/2.243, allocations: 99.22 kB / 0.7003 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4369/2.68, allocations: 8.621 MB / 0.7087 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000548/2.68, allocations: 368.6 kB / 0.7091 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/2.681, allocations: 192.4 kB / 0.7093 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/2.681, allocations: 134.3 kB / 0.7094 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/2.681, allocations: 160.6 kB / 0.7095 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/2.681, allocations: 25.59 kB / 0.7096 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03667/2.718, allocations: 19.91 MB / 0.729 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/2.718, allocations: 67.28 kB / 0.7291 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/2.718, allocations: 172.3 kB / 0.7292 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01481/2.733, allocations: 6.746 MB / 0.7358 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/2.733, allocations: 0 / 0.7358 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.675e-06/2.733, allocations: 0 / 0.7358 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.685e-06/2.733, allocations: 3.75 kB / 0.7358 GB, free: 3.066 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.006116/2.739, allocations: 1.751 MB / 0.7375 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/2.739, allocations: 10.69 kB / 0.7376 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/2.739, allocations: 44.09 kB / 0.7376 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/2.74, allocations: 284.4 kB / 0.7379 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/2.74, allocations: 28.62 kB / 0.7379 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/2.74, allocations: 34.09 kB / 0.7379 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/2.74, allocations: 357.9 kB / 0.7383 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/2.74, allocations: 0 / 0.7383 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/2.74, allocations: 13.38 kB / 0.7383 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/2.74, allocations: 8.438 kB / 0.7383 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/2.741, allocations: 222.4 kB / 0.7385 GB, free: 1.492 MB / 0.5762 GB 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.008009/2.749, allocations: 6.108 MB / 0.7445 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/2.749, allocations: 80.14 kB / 0.7445 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/2.749, allocations: 38.48 kB / 0.7446 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2392/2.988, allocations: 118.3 MB / 0.8601 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/2.988, allocations: 34.77 kB / 0.8601 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/2.988, allocations: 0 / 0.8601 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7): time 0.001019/2.989, allocations: 279.7 kB / 0.8604 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/2.989, allocations: 58.31 kB / 0.8604 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/2.99, allocations: 279.3 kB / 0.8607 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/2.99, allocations: 25.7 kB / 0.8607 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/2.99, allocations: 233.5 kB / 0.861 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/2.99, allocations: 27.27 kB / 0.861 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/2.99, allocations: 54.98 kB / 0.861 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001428/2.99, allocations: 331 kB / 0.8613 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/2.99, allocations: 45.84 kB / 0.8614 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/2.991, allocations: 142.7 kB / 0.8615 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/2.991, allocations: 191 kB / 0.8617 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/2.991, allocations: 1.094 kB / 0.8617 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006396/2.992, allocations: 276.1 kB / 0.862 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/2.992, allocations: 4.938 kB / 0.862 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/2.992, allocations: 5.203 kB / 0.862 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/2.993, allocations: 131.7 kB / 0.8621 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/2.993, allocations: 38.02 kB / 0.8621 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000507/2.993, allocations: 0.5786 MB / 0.8627 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/2.993, allocations: 38.66 kB / 0.8627 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/2.993, allocations: 19.42 kB / 0.8628 GB, free: 1.469 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,pipePressureLoss.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,pipePressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001884/2.994, allocations: 143.9 kB / 0.8629 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/2.994, allocations: 23.19 kB / 0.8629 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/2.994, allocations: 172.5 kB / 0.8631 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/2.994, allocations: 0 / 0.8631 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.994, allocations: 1.203 kB / 0.8631 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/2.994, allocations: 0 / 0.8631 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/2.995, allocations: 302.3 kB / 0.8634 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/2.995, allocations: 3.984 kB / 0.8634 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/2.995, allocations: 0 / 0.8634 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/2.995, allocations: 95.08 kB / 0.8635 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/2.995, allocations: 3.938 kB / 0.8635 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004323/2.996, allocations: 0.5838 MB / 0.864 GB, free: 220 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.996, allocations: 3.984 kB / 0.8641 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/2.996, allocations: 162.3 kB / 0.8642 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/2.996, allocations: 108.1 kB / 0.8643 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/2.996, allocations: 0 / 0.8643 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/2.996, allocations: 3.625 kB / 0.8643 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/2.996, allocations: 7.984 kB / 0.8643 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/2.996, allocations: 8.062 kB / 0.8643 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002252/2.996, allocations: 200.9 kB / 0.8645 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/2.996, allocations: 0 / 0.8645 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005568/3.002, allocations: 1.448 MB / 0.8659 GB, free: 14.42 MB / 0.7169 GB 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 (2): * Single equations (assignments): 1 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01031/3.012, allocations: 2.268 MB / 0.8682 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005145/3.013, allocations: 122 kB / 0.8683 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/3.013, allocations: 0 / 0.8683 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/3.013, allocations: 38.95 kB / 0.8683 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/3.014, allocations: 65.23 kB / 0.8684 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/3.015, allocations: 0.578 MB / 0.8689 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/3.015, allocations: 0.7597 MB / 0.8697 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/3.015, allocations: 23.44 kB / 0.8697 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/3.015, allocations: 0 / 0.8697 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of Templates: time 0.0498/3.065, allocations: 28.73 MB / 0.8977 GB, free: 14.33 MB / 0.7481 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o] Error 1