Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.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.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6828/0.6828, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.878e-06/9.958e-06, allocations: 0 / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 31.98 MB / 237.4 MB, free: 5.422 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve): time 1.297/1.415, allocations: 293.8 MB / 0.5188 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1614/1.576, allocations: 186.6 MB / 0.701 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/1.577, allocations: 11.94 kB / 0.701 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/1.577, allocations: 35.7 kB / 0.701 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/1.577, allocations: 139 kB / 0.7012 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2425/1.82, allocations: 8.946 MB / 0.7099 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004967/1.82, allocations: 468 kB / 0.7104 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/1.82, allocations: 202.7 kB / 0.7106 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/1.821, allocations: 168.4 kB / 0.7107 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/1.821, allocations: 184.2 kB / 0.7109 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/1.821, allocations: 17.03 kB / 0.7109 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0243/1.845, allocations: 20.01 MB / 0.7304 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/1.845, allocations: 65.75 kB / 0.7305 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/1.846, allocations: 226.9 kB / 0.7307 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007255/1.853, allocations: 6.712 MB / 0.7373 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.853, allocations: 0 / 0.7373 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/1.853, allocations: 3.562 kB / 0.7373 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.853, allocations: 0 / 0.7373 GB, free: 3.23 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.003044/1.856, allocations: 1.774 MB / 0.739 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/1.856, allocations: 8.594 kB / 0.739 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/1.856, allocations: 56.38 kB / 0.7391 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/1.856, allocations: 338.5 kB / 0.7394 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/1.856, allocations: 52.58 kB / 0.7394 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/1.856, allocations: 40.81 kB / 0.7395 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/1.857, allocations: 408.3 kB / 0.7399 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.857, allocations: 3.906 kB / 0.7399 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/1.857, allocations: 20.75 kB / 0.7399 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.857, allocations: 11.34 kB / 0.7399 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/1.857, allocations: 285.1 kB / 0.7402 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/1.859, allocations: 2.022 MB / 0.7422 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/1.859, allocations: 254 kB / 0.7424 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/1.859, allocations: 83.39 kB / 0.7425 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2106/2.07, allocations: 123.5 MB / 0.8631 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/2.07, allocations: 148.8 kB / 0.8633 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/2.07, allocations: 0 / 0.8633 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21): time 0.0008845/2.071, allocations: 407.5 kB / 0.8636 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/2.071, allocations: 59.41 kB / 0.8637 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/2.072, allocations: 319.3 kB / 0.864 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/2.072, allocations: 29.2 kB / 0.864 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/2.072, allocations: 244.4 kB / 0.8643 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/2.072, allocations: 69.5 kB / 0.8643 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/2.072, allocations: 40.39 kB / 0.8644 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/2.072, allocations: 341.9 kB / 0.8647 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/2.072, allocations: 78.44 kB / 0.8648 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/2.072, allocations: 183.3 kB / 0.8649 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/2.073, allocations: 272.9 kB / 0.8652 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/2.073, allocations: 8 kB / 0.8652 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000707/2.073, allocations: 385.3 kB / 0.8656 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/2.074, allocations: 8 kB / 0.8656 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.074, allocations: 4 kB / 0.8656 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009022/2.074, allocations: 206.9 kB / 0.8658 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/2.075, allocations: 46.89 kB / 0.8658 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/2.076, allocations: 2.217 MB / 0.868 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/2.077, allocations: 51.2 kB / 0.868 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/2.077, allocations: 19.67 kB / 0.8681 GB, free: 15.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (sourceP1.C.ftype,puitsP1.fluid,checkValve.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.fluid1,sourceP1.C.diff_on_2,checkValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001409/2.077, allocations: 156.5 kB / 0.8682 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/2.077, allocations: 31.62 kB / 0.8682 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/2.077, allocations: 330.3 kB / 0.8686 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/2.078, allocations: 4 kB / 0.8686 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/2.078, allocations: 0 / 0.8686 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/2.078, allocations: 0 / 0.8686 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/2.078, allocations: 386.1 kB / 0.8689 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/2.078, allocations: 4.062 kB / 0.8689 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/2.078, allocations: 46.89 kB / 0.869 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/2.079, allocations: 94.03 kB / 0.8691 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/2.079, allocations: 15.48 kB / 0.8691 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000345/2.079, allocations: 0.5616 MB / 0.8696 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/2.079, allocations: 3.984 kB / 0.8696 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/2.08, allocations: 385.1 kB / 0.87 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/2.08, allocations: 123.8 kB / 0.8701 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/2.08, allocations: 0 / 0.8701 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/2.08, allocations: 19.61 kB / 0.8701 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/2.08, allocations: 31.77 kB / 0.8702 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/2.08, allocations: 15.92 kB / 0.8702 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001967/2.08, allocations: 231.4 kB / 0.8704 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.01e-07/2.08, allocations: 0 / 0.8704 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002827/2.083, allocations: 1.469 MB / 0.8718 GB, free: 12.04 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.theta,checkValve.omega) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.004523/2.088, allocations: 2.244 MB / 0.874 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005762/2.088, allocations: 360.6 kB / 0.8744 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/2.088, allocations: 0 / 0.8744 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/2.088, allocations: 108.8 kB / 0.8745 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/2.089, allocations: 81.88 kB / 0.8746 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/2.09, allocations: 1.007 MB / 0.8755 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/2.09, allocations: 0.8029 MB / 0.8763 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/2.09, allocations: 31.44 kB / 0.8764 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/2.09, allocations: 0 / 0.8764 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.0323/2.123, allocations: 30.28 MB / 0.9059 GB, free: 9.684 MB / 0.7481 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.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.TestDynamicCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValveCalcHelperMain.o] Error 1