Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8733/0.8733, allocations: 150.9 MB / 166.6 MB, free: 14.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 15.97 kB / 204.7 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1911, allocations: 31.33 MB / 236 MB, free: 5.469 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.TestInvSingularPressureLoss): time 1.816/2.007, allocations: 292.7 MB / 0.5163 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2245/2.232, allocations: 188.4 MB / 0.7002 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/2.232, allocations: 4 kB / 0.7002 GB, free: 1.102 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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/InvSingularPressureLoss.mo:30:3-31: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/InvSingularPressureLoss.mo:32:3-33: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.0001722/2.232, allocations: 31.77 kB / 0.7002 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003739/2.233, allocations: 103.2 kB / 0.7003 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4447/2.677, allocations: 8.623 MB / 0.7088 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006253/2.678, allocations: 360.8 kB / 0.7091 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/2.678, allocations: 192.1 kB / 0.7093 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/2.679, allocations: 148.2 kB / 0.7094 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/2.679, allocations: 156.5 kB / 0.7096 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/2.679, allocations: 25.56 kB / 0.7096 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04061/2.72, allocations: 19.92 MB / 0.7291 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/2.72, allocations: 64.78 kB / 0.7291 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/2.72, allocations: 173.4 kB / 0.7293 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01661/2.737, allocations: 6.743 MB / 0.7359 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/2.737, allocations: 5.75 kB / 0.7359 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.565e-06/2.737, allocations: 0 / 0.7359 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.298e-06/2.737, allocations: 0 / 0.7359 GB, free: 3.027 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.007338/2.744, allocations: 1.74 MB / 0.7376 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/2.744, allocations: 10.69 kB / 0.7376 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/2.744, allocations: 45.19 kB / 0.7376 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/2.745, allocations: 292.2 kB / 0.7379 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/2.745, allocations: 24.66 kB / 0.7379 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/2.745, allocations: 31.03 kB / 0.738 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/2.745, allocations: 363.2 kB / 0.7383 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/2.745, allocations: 3 kB / 0.7383 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/2.745, allocations: 15.72 kB / 0.7383 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/2.745, allocations: 11.84 kB / 0.7383 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/2.746, allocations: 230 kB / 0.7386 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06996/2.816, allocations: 31.9 MB / 0.7697 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/2.816, allocations: 70.52 kB / 0.7698 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/2.816, allocations: 33.06 kB / 0.7698 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.231/3.047, allocations: 118.3 MB / 0.8853 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/3.047, allocations: 30.56 kB / 0.8853 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 2.815e-06/3.047, allocations: 0 / 0.8853 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.000531/3.048, allocations: 117.6 kB / 0.8854 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/3.048, allocations: 55.41 kB / 0.8855 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/3.048, allocations: 308 kB / 0.8858 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/3.048, allocations: 25.7 kB / 0.8858 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/3.049, allocations: 225.3 kB / 0.886 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/3.049, allocations: 21.86 kB / 0.886 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/3.049, allocations: 55.12 kB / 0.8861 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001263/3.049, allocations: 333.2 kB / 0.8864 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/3.049, allocations: 45.59 kB / 0.8865 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/3.049, allocations: 143.6 kB / 0.8866 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/3.05, allocations: 197.2 kB / 0.8868 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/3.05, allocations: 5.453 kB / 0.8868 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004786/3.05, allocations: 222.9 kB / 0.887 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/3.05, allocations: 4.469 kB / 0.887 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/3.05, allocations: 12 kB / 0.887 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/3.05, allocations: 11.5 kB / 0.887 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/3.051, allocations: 118.5 kB / 0.8871 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/3.051, allocations: 6.906 kB / 0.8872 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/3.051, allocations: 38.83 kB / 0.8872 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/3.051, allocations: 16 kB / 0.8872 GB, free: 7.027 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,sinkQ.fluid,invSingularPressureLoss.fluid,sourcePQ.fluid1,sourcePQ.C.diff_on_2,invSingularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/3.051, allocations: 139.9 kB / 0.8873 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/3.051, allocations: 27.7 kB / 0.8874 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/3.052, allocations: 117.3 kB / 0.8875 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/3.052, allocations: 48 / 0.8875 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/3.052, allocations: 11.97 kB / 0.8875 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/3.052, allocations: 0 / 0.8875 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6148/3.667, allocations: 114.5 MB / 0.9993 GB, free: 250.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/3.667, allocations: 1.203 kB / 0.9993 GB, free: 250.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-05/3.667, allocations: 13.77 kB / 0.9993 GB, free: 250.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/3.667, allocations: 2.812 kB / 0.9993 GB, free: 250.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/3.667, allocations: 5.938 kB / 0.9993 GB, free: 250.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/3.667, allocations: 0 / 0.9993 GB, free: 250.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/3.667, allocations: 1.781 kB / 0.9993 GB, free: 250.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/3.667, allocations: 150.1 kB / 0.9995 GB, free: 250.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/3.667, allocations: 107.9 kB / 0.9996 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/3.667, allocations: 1.125 kB / 0.9996 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/3.667, allocations: 11.72 kB / 0.9996 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/3.667, allocations: 7.938 kB / 0.9996 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/3.667, allocations: 8.062 kB / 0.9996 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000231/3.668, allocations: 221 kB / 0.9998 GB, free: 250 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/3.668, allocations: 0 / 0.9998 GB, free: 250 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005586/3.673, allocations: 1.437 MB / 1.001 GB, free: 250 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007271/3.681, allocations: 2.275 MB / 1.003 GB, free: 249.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000475/3.681, allocations: 124.6 kB / 1.004 GB, free: 249.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/3.681, allocations: 0 / 1.004 GB, free: 249.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/3.681, allocations: 28.94 kB / 1.004 GB, free: 249.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/3.682, allocations: 59.62 kB / 1.004 GB, free: 249.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/3.682, allocations: 0.5887 MB / 1.004 GB, free: 249.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/3.683, allocations: 0.7598 MB / 1.005 GB, free: 248.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/3.683, allocations: 32.77 kB / 1.005 GB, free: 248.6 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/3.683, allocations: 0 / 1.005 GB, free: 248.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.04651/3.729, allocations: 27.62 MB / 1.032 GB, free: 239.3 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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.TestInvSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.o] Error 1