Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.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.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7703/0.7703, allocations: 150.9 MB / 166.6 MB, free: 14.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 11.97 kB / 204.6 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1608, allocations: 31.34 MB / 236 MB, free: 5.453 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.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve): time 1.532/1.693, allocations: 292.6 MB / 0.5162 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04022/1.733, allocations: 37.6 MB / 0.5529 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/1.734, allocations: 8 kB / 0.553 GB, free: 8.309 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:38:3-39:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:40:3-41:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003564/1.734, allocations: 80.48 kB / 0.553 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/1.734, allocations: 91.3 kB / 0.5531 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01963/1.754, allocations: 7.177 MB / 0.5601 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004882/1.754, allocations: 346.3 kB / 0.5605 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/1.755, allocations: 119.9 kB / 0.5606 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/1.755, allocations: 131.3 kB / 0.5607 GB, free: 384 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/1.755, allocations: 127.3 kB / 0.5608 GB, free: 256 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/1.755, allocations: 12 kB / 0.5608 GB, free: 244 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0282/1.783, allocations: 17.73 MB / 0.5781 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/1.783, allocations: 47.67 kB / 0.5782 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/1.784, allocations: 135.3 kB / 0.5783 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009458/1.793, allocations: 5.719 MB / 0.5839 GB, free: 8.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.793, allocations: 0 / 0.5839 GB, free: 8.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/1.793, allocations: 0 / 0.5839 GB, free: 8.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/1.793, allocations: 4 kB / 0.5839 GB, free: 8.566 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.003902/1.797, allocations: 1.476 MB / 0.5854 GB, free: 7.043 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.797, allocations: 12.03 kB / 0.5854 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/1.797, allocations: 35.56 kB / 0.5854 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/1.797, allocations: 232.9 kB / 0.5856 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/1.797, allocations: 46.14 kB / 0.5857 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/1.797, allocations: 20 kB / 0.5857 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/1.798, allocations: 314.7 kB / 0.586 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.798, allocations: 3.938 kB / 0.586 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/1.798, allocations: 12 kB / 0.586 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/1.798, allocations: 19.92 kB / 0.586 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/1.798, allocations: 196.3 kB / 0.5862 GB, free: 6.098 MB / 478.1 MB 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.01782/1.816, allocations: 9.903 MB / 0.5959 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/1.816, allocations: 158.8 kB / 0.596 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.817, allocations: 113.2 kB / 0.5961 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1534/1.97, allocations: 85.47 MB / 0.6796 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/1.97, allocations: 189 kB / 0.6798 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 4.248e-06/1.971, allocations: 0.8438 kB / 0.6798 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00105/1.972, allocations: 0.5069 MB / 0.6803 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.972, allocations: 77.11 kB / 0.6804 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/1.972, allocations: 218.8 kB / 0.6806 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/1.972, allocations: 29.7 kB / 0.6806 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/1.972, allocations: 144.6 kB / 0.6807 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/1.972, allocations: 134 kB / 0.6809 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/1.972, allocations: 57.69 kB / 0.6809 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.972, allocations: 334.8 kB / 0.6812 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/1.972, allocations: 96.39 kB / 0.6813 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/1.973, allocations: 161.4 kB / 0.6815 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.974, allocations: 0.5224 MB / 0.682 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.974, allocations: 4 kB / 0.682 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006271/1.975, allocations: 363.2 kB / 0.6823 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.975, allocations: 14.06 kB / 0.6824 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.975, allocations: 0 / 0.6824 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.975, allocations: 121 kB / 0.6825 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/1.975, allocations: 19.92 kB / 0.6825 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004458/1.976, allocations: 0.6147 MB / 0.6831 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/1.976, allocations: 44.45 kB / 0.6831 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/1.976, allocations: 4 kB / 0.6831 GB, free: 7.988 MB / 0.5762 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,$PRE.pulse.T0,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0,checkValve3.C2.b,checkValve3.C1.a,puitsP1.C.a,sourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001783/1.976, allocations: 146.9 kB / 0.6833 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/1.976, allocations: 32.61 kB / 0.6833 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/1.977, allocations: 0.5051 MB / 0.6838 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004592/1.977, allocations: 322.3 kB / 0.6841 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.977, allocations: 0 / 0.6841 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.977, allocations: 3.984 kB / 0.6841 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/1.979, allocations: 0.8786 MB / 0.685 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.979, allocations: 0 / 0.685 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/1.979, allocations: 31.92 kB / 0.685 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005802/1.979, allocations: 128.7 kB / 0.6851 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/1.979, allocations: 8 kB / 0.6851 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000386/1.98, allocations: 0.6149 MB / 0.6857 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.98, allocations: 0 / 0.6857 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/1.98, allocations: 451.8 kB / 0.6862 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.98, allocations: 120.7 kB / 0.6863 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/1.981, allocations: 3.938 kB / 0.6863 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/1.981, allocations: 19.92 kB / 0.6863 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/1.981, allocations: 19.97 kB / 0.6863 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/1.981, allocations: 11.94 kB / 0.6863 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001636/1.981, allocations: 188.5 kB / 0.6865 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.981, allocations: 8 kB / 0.6865 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002818/1.984, allocations: 1.187 MB / 0.6877 GB, free: 3.156 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T0,checkValve3.ouvert,checkValve3.touvert,checkValve3.tferme) * Number of discrete states: 2 (checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.005364/1.989, allocations: 1.79 MB / 0.6894 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007331/1.99, allocations: 321.4 kB / 0.6897 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/1.99, allocations: 0 / 0.6897 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/1.99, allocations: 159.8 kB / 0.6899 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/1.991, allocations: 123.6 kB / 0.69 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009591/1.992, allocations: 0.7244 MB / 0.6907 GB, free: 28 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1624/2.154, allocations: 0.7784 MB / 0.6915 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/2.154, allocations: 23.59 kB / 0.6915 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/2.154, allocations: 0 / 0.6915 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.03607/2.191, allocations: 25.15 MB / 0.716 GB, free: 218.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValveCalcHelperMain.o] Error 1