Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8791/0.8791, allocations: 150.9 MB / 166.6 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 11.98 kB / 204.7 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2003, allocations: 31.33 MB / 236 MB, free: 5.438 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.TestSingularPressureLoss): time 1.777/1.977, allocations: 292.6 MB / 0.5162 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2157/2.193, allocations: 188.3 MB / 0.7002 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/2.193, allocations: 7.938 kB / 0.7002 GB, free: 1.105 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/SingularPressureLoss.mo:27:3-28: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/SingularPressureLoss.mo:29:3-30: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.0001414/2.193, allocations: 23.78 kB / 0.7002 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003233/2.194, allocations: 95.23 kB / 0.7003 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4509/2.644, allocations: 8.625 MB / 0.7087 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005333/2.645, allocations: 354.3 kB / 0.709 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/2.645, allocations: 176.3 kB / 0.7092 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/2.646, allocations: 137.6 kB / 0.7093 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/2.646, allocations: 156.4 kB / 0.7095 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/2.646, allocations: 23.44 kB / 0.7095 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03736/2.683, allocations: 19.91 MB / 0.729 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/2.683, allocations: 57.98 kB / 0.729 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003329/2.684, allocations: 169.9 kB / 0.7292 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0143/2.698, allocations: 6.738 MB / 0.7358 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/2.698, allocations: 0 / 0.7358 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/2.698, allocations: 4.844 kB / 0.7358 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.216e-06/2.698, allocations: 2.812 kB / 0.7358 GB, free: 3.098 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006467/2.705, allocations: 1.732 MB / 0.7375 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/2.705, allocations: 8.688 kB / 0.7375 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/2.705, allocations: 44.89 kB / 0.7375 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/2.705, allocations: 286 kB / 0.7378 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/2.705, allocations: 25.12 kB / 0.7378 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/2.705, allocations: 32.59 kB / 0.7378 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/2.706, allocations: 348 kB / 0.7382 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/2.706, allocations: 0 / 0.7382 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/2.706, allocations: 17.47 kB / 0.7382 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/2.706, allocations: 7.906 kB / 0.7382 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/2.706, allocations: 214.7 kB / 0.7384 GB, free: 1.531 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.00845/2.715, allocations: 6.082 MB / 0.7443 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/2.715, allocations: 59.81 kB / 0.7444 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/2.715, allocations: 15.83 kB / 0.7444 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1571/2.872, allocations: 70.92 MB / 0.8137 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/2.872, allocations: 30.56 kB / 0.8137 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 2.345e-06/2.872, allocations: 0 / 0.8137 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0008794/2.873, allocations: 236.3 kB / 0.8139 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/2.873, allocations: 52.5 kB / 0.814 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/2.873, allocations: 270.9 kB / 0.8142 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/2.873, allocations: 29.7 kB / 0.8143 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/2.874, allocations: 225.7 kB / 0.8145 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/2.874, allocations: 23.05 kB / 0.8145 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/2.874, allocations: 55.3 kB / 0.8146 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001453/2.874, allocations: 331.5 kB / 0.8149 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/2.874, allocations: 38.09 kB / 0.8149 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/2.874, allocations: 145 kB / 0.815 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/2.874, allocations: 180.2 kB / 0.8152 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/2.874, allocations: 0 / 0.8152 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005141/2.875, allocations: 252.4 kB / 0.8155 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/2.875, allocations: 8 kB / 0.8155 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.875, allocations: 4 kB / 0.8155 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/2.876, allocations: 123.4 kB / 0.8156 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/2.876, allocations: 38.89 kB / 0.8156 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004862/2.877, allocations: 0.5569 MB / 0.8162 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/2.877, allocations: 35.08 kB / 0.8162 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/2.877, allocations: 13.27 kB / 0.8162 GB, free: 6.398 MB / 0.6544 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 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001715/2.877, allocations: 147.5 kB / 0.8164 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/2.877, allocations: 23.75 kB / 0.8164 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/2.877, allocations: 128 kB / 0.8165 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/2.877, allocations: 7.984 kB / 0.8165 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.877, allocations: 0 / 0.8165 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/2.877, allocations: 4.031 kB / 0.8165 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/2.878, allocations: 286 kB / 0.8168 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/2.878, allocations: 3.938 kB / 0.8168 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/2.878, allocations: 4 kB / 0.8168 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/2.878, allocations: 83.62 kB / 0.8169 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/2.878, allocations: 5.203 kB / 0.8169 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004024/2.879, allocations: 0.5531 MB / 0.8174 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.879, allocations: 2.906 kB / 0.8174 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/2.879, allocations: 139.7 kB / 0.8176 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/2.879, allocations: 100.2 kB / 0.8176 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/2.879, allocations: 0 / 0.8176 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/2.879, allocations: 0 / 0.8176 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/2.879, allocations: 10.47 kB / 0.8177 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/2.879, allocations: 3.938 kB / 0.8177 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002199/2.879, allocations: 212.6 kB / 0.8179 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.31e-07/2.879, allocations: 0 / 0.8179 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005151/2.885, allocations: 1.438 MB / 0.8193 GB, free: 3.418 MB / 0.6544 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009477/2.894, allocations: 2.277 MB / 0.8215 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004439/2.894, allocations: 105.8 kB / 0.8216 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.895, allocations: 0 / 0.8216 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/2.895, allocations: 27.45 kB / 0.8216 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/2.895, allocations: 68.91 kB / 0.8217 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/2.896, allocations: 0.546 MB / 0.8222 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/2.896, allocations: 0.7558 MB / 0.823 GB, free: 0 / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/2.897, allocations: 27.42 kB / 0.823 GB, free: 15.97 MB / 0.67 GB Notification: Performance of SimCode: time 4.31e-07/2.897, allocations: 5.094 kB / 0.823 GB, free: 15.97 MB / 0.67 GB Notification: Performance of Templates: time 0.0488/2.945, allocations: 28.61 MB / 0.8509 GB, free: 3.469 MB / 0.6856 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.o] Error 1