Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8428/0.8428, allocations: 150.9 MB / 166.6 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 15.97 kB / 204.7 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 31.33 MB / 236 MB, free: 5.441 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.TestBend): time 1.771/1.969, allocations: 292.8 MB / 0.5164 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6067/2.575, allocations: 191.5 MB / 0.7034 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/2.576, allocations: 10.14 kB / 0.7034 GB, free: 3.891 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/Bend.mo:57:3-58: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/Bend.mo:59:3-60:67: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.0004858/2.576, allocations: 183.2 kB / 0.7036 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005565/2.577, allocations: 265 kB / 0.7038 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03593/2.613, allocations: 9.471 MB / 0.7131 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009518/2.614, allocations: 0.509 MB / 0.7136 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/2.614, allocations: 255.1 kB / 0.7138 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/2.614, allocations: 232.3 kB / 0.7141 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/2.615, allocations: 351.3 kB / 0.7144 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/2.615, allocations: 26.47 kB / 0.7144 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04111/2.656, allocations: 21.08 MB / 0.735 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/2.656, allocations: 197.3 kB / 0.7352 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004343/2.657, allocations: 307.3 kB / 0.7355 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/2.673, allocations: 7.511 MB / 0.7428 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/2.673, allocations: 0 / 0.7428 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/2.673, allocations: 1.094 kB / 0.7428 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.028e-05/2.673, allocations: 0 / 0.7428 GB, free: 0.8828 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.007141/2.681, allocations: 2.242 MB / 0.745 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/2.681, allocations: 7.5 kB / 0.745 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/2.681, allocations: 79.06 kB / 0.7451 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/2.682, allocations: 0.5504 MB / 0.7456 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/2.682, allocations: 27.38 kB / 0.7457 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/2.682, allocations: 39.69 kB / 0.7457 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/2.682, allocations: 495 kB / 0.7462 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/2.682, allocations: 2.719 kB / 0.7462 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/2.682, allocations: 16.69 kB / 0.7462 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/2.682, allocations: 11.66 kB / 0.7462 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/2.683, allocations: 422.8 kB / 0.7466 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009489/2.693, allocations: 6.696 MB / 0.7531 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/2.693, allocations: 124.3 kB / 0.7533 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/2.693, allocations: 43.12 kB / 0.7533 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3111/3.004, allocations: 154.7 MB / 0.9044 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/3.004, allocations: 37.75 kB / 0.9044 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 4.127e-06/3.004, allocations: 0 / 0.9044 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.002539/3.007, allocations: 474.1 kB / 0.9049 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/3.007, allocations: 106.8 kB / 0.905 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/3.009, allocations: 1.063 MB / 0.906 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/3.009, allocations: 29.7 kB / 0.9061 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/3.009, allocations: 392.6 kB / 0.9064 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/3.009, allocations: 42.39 kB / 0.9065 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/3.01, allocations: 77.52 kB / 0.9065 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002337/3.01, allocations: 380.5 kB / 0.9069 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/3.01, allocations: 130.4 kB / 0.907 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/3.01, allocations: 254 kB / 0.9073 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/3.011, allocations: 320.6 kB / 0.9076 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/3.011, allocations: 8 kB / 0.9076 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001709/3.013, allocations: 0.5592 MB / 0.9081 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/3.013, allocations: 9.25 kB / 0.9081 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/3.013, allocations: 8.938 kB / 0.9081 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/3.014, allocations: 190.1 kB / 0.9083 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/3.015, allocations: 55.75 kB / 0.9084 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007433/3.015, allocations: 0.624 MB / 0.909 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/3.016, allocations: 44.27 kB / 0.909 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/3.016, allocations: 18.5 kB / 0.9091 GB, free: 2.125 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004237/3.016, allocations: 266 kB / 0.9093 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/3.016, allocations: 67.16 kB / 0.9094 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008742/3.017, allocations: 259.9 kB / 0.9096 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/3.017, allocations: 0 / 0.9096 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/3.017, allocations: 4 kB / 0.9096 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/3.017, allocations: 7.938 kB / 0.9096 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/3.019, allocations: 0.8347 MB / 0.9104 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/3.019, allocations: 5.125 kB / 0.9104 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/3.019, allocations: 4 kB / 0.9105 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/3.021, allocations: 178.1 kB / 0.9106 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/3.021, allocations: 3.984 kB / 0.9106 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006221/3.021, allocations: 0.6307 MB / 0.9112 GB, free: 116 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/3.021, allocations: 0 / 0.9112 GB, free: 116 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/3.023, allocations: 414 kB / 0.9116 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/3.023, allocations: 169.4 kB / 0.9118 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/3.023, allocations: 13.94 kB / 0.9118 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/3.023, allocations: 6 kB / 0.9118 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/3.024, allocations: 7.984 kB / 0.9118 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/3.024, allocations: 9.984 kB / 0.9118 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001077/3.025, allocations: 0.7829 MB / 0.9126 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/3.025, allocations: 0 / 0.9126 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006045/3.031, allocations: 1.641 MB / 0.9142 GB, free: 13.44 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/3.042, allocations: 2.579 MB / 0.9167 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000627/3.042, allocations: 240.4 kB / 0.917 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/3.042, allocations: 1.062 kB / 0.917 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/3.043, allocations: 63.03 kB / 0.917 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/3.043, allocations: 83.19 kB / 0.9171 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/3.045, allocations: 1.313 MB / 0.9184 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/3.046, allocations: 0.9311 MB / 0.9193 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/3.046, allocations: 35.44 kB / 0.9193 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/3.046, allocations: 0 / 0.9193 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of Templates: time 0.06137/3.107, allocations: 35.69 MB / 0.9542 GB, free: 5.199 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.TestBendCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBendCalcHelperMain.o] Error 1