Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8878/0.8878, allocations: 150.8 MB / 166.6 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 11.98 kB / 204.7 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2426, allocations: 31.33 MB / 236 MB, free: 5.465 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.SimpleExamples.TestBend): time 1.882/2.124, allocations: 292.8 MB / 0.5164 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7098/2.834, allocations: 191.5 MB / 0.7035 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005467/2.835, allocations: 9.344 kB / 0.7035 GB, free: 3.777 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.0005716/2.835, allocations: 184.6 kB / 0.7037 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005986/2.836, allocations: 267.5 kB / 0.7039 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03636/2.872, allocations: 9.456 MB / 0.7131 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001092/2.873, allocations: 0.5222 MB / 0.7137 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/2.874, allocations: 247.2 kB / 0.7139 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/2.874, allocations: 233.7 kB / 0.7141 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/2.874, allocations: 346.3 kB / 0.7144 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/2.874, allocations: 27.88 kB / 0.7145 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05165/2.926, allocations: 21.1 MB / 0.7351 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000584/2.927, allocations: 192.6 kB / 0.7353 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006857/2.928, allocations: 302.8 kB / 0.7355 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02178/2.949, allocations: 7.513 MB / 0.7429 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/2.949, allocations: 0 / 0.7429 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.056e-06/2.949, allocations: 0 / 0.7429 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.058e-05/2.949, allocations: 0 / 0.7429 GB, free: 0.7852 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.008024/2.957, allocations: 2.238 MB / 0.7451 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/2.957, allocations: 11.78 kB / 0.7451 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/2.958, allocations: 79.34 kB / 0.7452 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/2.958, allocations: 0.5464 MB / 0.7457 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/2.958, allocations: 35.44 kB / 0.7457 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/2.958, allocations: 37.16 kB / 0.7458 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007219/2.959, allocations: 495.3 kB / 0.7462 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/2.959, allocations: 0 / 0.7462 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/2.959, allocations: 15.56 kB / 0.7462 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/2.959, allocations: 11.06 kB / 0.7463 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/2.96, allocations: 412.3 kB / 0.7466 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009182/2.969, allocations: 6.705 MB / 0.7532 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/2.97, allocations: 127.5 kB / 0.7533 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/2.97, allocations: 42.34 kB / 0.7534 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3157/3.285, allocations: 154.7 MB / 0.9045 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/3.286, allocations: 37.45 kB / 0.9045 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 3.036e-06/3.286, allocations: 0 / 0.9045 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.002516/3.288, allocations: 471.5 kB / 0.9049 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/3.288, allocations: 106.8 kB / 0.905 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/3.29, allocations: 1.064 MB / 0.9061 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/3.29, allocations: 25.7 kB / 0.9061 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/3.291, allocations: 390.8 kB / 0.9065 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/3.291, allocations: 42.81 kB / 0.9065 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/3.291, allocations: 77.66 kB / 0.9066 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001837/3.291, allocations: 386.7 kB / 0.907 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/3.291, allocations: 127 kB / 0.9071 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/3.291, allocations: 261.1 kB / 0.9073 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/3.292, allocations: 315.8 kB / 0.9076 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/3.292, allocations: 8 kB / 0.9076 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001764/3.294, allocations: 0.5607 MB / 0.9082 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/3.294, allocations: 5.406 kB / 0.9082 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/3.294, allocations: 4 kB / 0.9082 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/3.296, allocations: 197.8 kB / 0.9084 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/3.296, allocations: 52.62 kB / 0.9084 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000715/3.296, allocations: 0.6286 MB / 0.9091 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/3.297, allocations: 43.7 kB / 0.9091 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/3.297, allocations: 14.44 kB / 0.9091 GB, free: 2.039 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.0004717/3.297, allocations: 272.8 kB / 0.9094 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/3.298, allocations: 63.16 kB / 0.9094 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008429/3.298, allocations: 256.1 kB / 0.9097 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/3.298, allocations: 4 kB / 0.9097 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/3.298, allocations: 4 kB / 0.9097 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/3.298, allocations: 3.938 kB / 0.9097 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/3.301, allocations: 0.8373 MB / 0.9105 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/3.301, allocations: 4 kB / 0.9105 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/3.301, allocations: 4.625 kB / 0.9105 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/3.302, allocations: 175.5 kB / 0.9107 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/3.302, allocations: 5.25 kB / 0.9107 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006132/3.303, allocations: 0.6338 MB / 0.9113 GB, free: 28 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.303, allocations: 4.031 kB / 0.9113 GB, free: 24 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/3.304, allocations: 406 kB / 0.9117 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/3.304, allocations: 172.9 kB / 0.9119 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/3.304, allocations: 1.312 kB / 0.9119 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/3.305, allocations: 5.438 kB / 0.9119 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/3.305, allocations: 13.53 kB / 0.9119 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/3.305, allocations: 4 kB / 0.9119 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00112/3.306, allocations: 0.7906 MB / 0.9127 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/3.306, allocations: 0 / 0.9127 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006215/3.312, allocations: 1.647 MB / 0.9143 GB, free: 13.35 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.01124/3.323, allocations: 2.571 MB / 0.9168 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008326/3.324, allocations: 251.3 kB / 0.917 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.324, allocations: 0 / 0.917 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/3.324, allocations: 54.95 kB / 0.9171 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/3.325, allocations: 99.12 kB / 0.9172 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/3.328, allocations: 1.303 MB / 0.9184 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/3.329, allocations: 0.9275 MB / 0.9193 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/3.329, allocations: 43.44 kB / 0.9194 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of SimCode: time 1.543e-06/3.329, allocations: 0 / 0.9194 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of Templates: time 0.0642/3.393, allocations: 35.69 MB / 0.9542 GB, free: 5.109 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.SimpleExamples.TestBendCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBendCalcHelperMain.o] Error 1