Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6864/0.6864, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.042e-05, allocations: 0 / 205.4 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 31.99 MB / 237.4 MB, free: 5.41 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.TestControlValve): time 1.305/1.425, allocations: 293.6 MB / 0.5186 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.161/1.586, allocations: 186.5 MB / 0.7007 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/1.586, allocations: 4 kB / 0.7007 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/1.586, allocations: 87.64 kB / 0.7008 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/1.587, allocations: 147.1 kB / 0.7009 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2425/1.829, allocations: 8.915 MB / 0.7096 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/1.829, allocations: 413.1 kB / 0.71 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/1.83, allocations: 181.4 kB / 0.7102 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/1.83, allocations: 146.4 kB / 0.7103 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/1.83, allocations: 187.8 kB / 0.7105 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/1.83, allocations: 14.34 kB / 0.7105 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02367/1.854, allocations: 20.07 MB / 0.7301 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/1.854, allocations: 79.2 kB / 0.7302 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/1.854, allocations: 205.7 kB / 0.7304 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007227/1.861, allocations: 6.73 MB / 0.737 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/1.861, allocations: 0 / 0.737 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/1.861, allocations: 2.156 kB / 0.737 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.861, allocations: 0 / 0.737 GB, free: 3.41 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002854/1.864, allocations: 1.751 MB / 0.7387 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/1.864, allocations: 13.38 kB / 0.7387 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/1.864, allocations: 53.41 kB / 0.7388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/1.865, allocations: 347 kB / 0.7391 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/1.865, allocations: 29.88 kB / 0.7391 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/1.865, allocations: 31.88 kB / 0.7391 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/1.865, allocations: 375.6 kB / 0.7395 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.865, allocations: 4.625 kB / 0.7395 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/1.865, allocations: 18.44 kB / 0.7395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/1.865, allocations: 9.531 kB / 0.7395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/1.865, allocations: 265.8 kB / 0.7398 GB, free: 1.75 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.006621/1.872, allocations: 6.211 MB / 0.7459 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/1.872, allocations: 114.1 kB / 0.746 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/1.872, allocations: 51.73 kB / 0.746 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2091/2.081, allocations: 119.3 MB / 0.8625 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/2.081, allocations: 42.22 kB / 0.8625 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/2.081, allocations: 0 / 0.8625 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7): time 0.0007443/2.082, allocations: 314.6 kB / 0.8628 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/2.082, allocations: 55.41 kB / 0.8629 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/2.083, allocations: 414.6 kB / 0.8633 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/2.083, allocations: 31.08 kB / 0.8633 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/2.083, allocations: 261.5 kB / 0.8636 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/2.083, allocations: 26.66 kB / 0.8636 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/2.083, allocations: 36.89 kB / 0.8636 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001112/2.083, allocations: 345.7 kB / 0.8639 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/2.083, allocations: 62.53 kB / 0.864 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/2.083, allocations: 161.9 kB / 0.8642 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/2.083, allocations: 233.2 kB / 0.8644 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.083, allocations: 4 kB / 0.8644 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004775/2.084, allocations: 310.3 kB / 0.8647 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/2.084, allocations: 10.16 kB / 0.8647 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/2.084, allocations: 0 / 0.8647 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007703/2.085, allocations: 151.9 kB / 0.8648 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/2.085, allocations: 41.8 kB / 0.8649 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003896/2.085, allocations: 0.5654 MB / 0.8654 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/2.085, allocations: 35.3 kB / 0.8655 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/2.085, allocations: 11.75 kB / 0.8655 GB, free: 1.906 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,ControlValve.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,ControlValve.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): 23 * 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.0001427/2.086, allocations: 168 kB / 0.8656 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/2.086, allocations: 31.62 kB / 0.8657 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/2.086, allocations: 217.6 kB / 0.8659 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/2.086, allocations: 4 kB / 0.8659 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/2.086, allocations: 0 / 0.8659 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/2.086, allocations: 5.859 kB / 0.8659 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/2.086, allocations: 361.5 kB / 0.8662 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/2.086, allocations: 0 / 0.8662 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/2.086, allocations: 7.984 kB / 0.8662 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/2.087, allocations: 93.95 kB / 0.8663 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/2.087, allocations: 3.984 kB / 0.8663 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003589/2.087, allocations: 0.5661 MB / 0.8669 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.087, allocations: 3.938 kB / 0.8669 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/2.088, allocations: 202.3 kB / 0.8671 GB, free: 336 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/2.088, allocations: 112.3 kB / 0.8672 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/2.088, allocations: 3.984 kB / 0.8672 GB, free: 204 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/2.088, allocations: 7.938 kB / 0.8672 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/2.088, allocations: 96 / 0.8672 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/2.088, allocations: 4 kB / 0.8672 GB, free: 192 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002733/2.088, allocations: 305.1 kB / 0.8675 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.71e-07/2.088, allocations: 0 / 0.8675 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002707/2.091, allocations: 1.465 MB / 0.8689 GB, free: 14.59 MB / 0.7169 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 (4): * Single equations (assignments): 3 * 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.004578/2.095, allocations: 2.258 MB / 0.8711 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003385/2.096, allocations: 158.1 kB / 0.8713 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/2.096, allocations: 2.734 kB / 0.8713 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/2.096, allocations: 62.08 kB / 0.8713 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/2.096, allocations: 76.48 kB / 0.8714 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/2.097, allocations: 0.7812 MB / 0.8722 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/2.097, allocations: 0.8054 MB / 0.873 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/2.098, allocations: 31.12 kB / 0.873 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/2.098, allocations: 0 / 0.873 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.03093/2.128, allocations: 29.26 MB / 0.9016 GB, free: 13.67 MB / 0.7481 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.TestControlValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValveCalcHelperMain.o] Error 1