Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8082/0.8082, allocations: 150.8 MB / 166.6 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003105, allocations: 15.98 kB / 204.6 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 31.34 MB / 236 MB, free: 5.441 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.SimpleExamples.TestDynamicCheckValve): time 1.685/1.882, allocations: 292.9 MB / 0.5165 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0443/1.926, allocations: 38.01 MB / 0.5536 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/1.926, allocations: 4 kB / 0.5536 GB, free: 7.762 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/DynamicCheckValve.mo:61:3-63:16: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/DynamicCheckValve.mo:64:3-65:51: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.0004823/1.927, allocations: 95.42 kB / 0.5537 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/1.927, allocations: 123.2 kB / 0.5538 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02415/1.951, allocations: 7.284 MB / 0.5609 GB, free: 268 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/1.952, allocations: 430.6 kB / 0.5613 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/1.952, allocations: 140 kB / 0.5615 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/1.953, allocations: 167.2 kB / 0.5616 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/1.953, allocations: 163.2 kB / 0.5618 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/1.953, allocations: 16 kB / 0.5618 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03118/1.984, allocations: 17.73 MB / 0.5791 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/1.984, allocations: 59.75 kB / 0.5792 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/1.984, allocations: 171 kB / 0.5793 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/1.997, allocations: 5.762 MB / 0.585 GB, free: 7.602 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.997, allocations: 0 / 0.585 GB, free: 7.602 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/1.997, allocations: 0 / 0.585 GB, free: 7.602 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/1.997, allocations: 0 / 0.585 GB, free: 7.602 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005318/2.002, allocations: 1.54 MB / 0.5865 GB, free: 6.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/2.002, allocations: 8.031 kB / 0.5865 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.848e-05/2.002, allocations: 47.47 kB / 0.5865 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/2.002, allocations: 266.3 kB / 0.5868 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/2.003, allocations: 42.27 kB / 0.5868 GB, free: 5.609 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/2.003, allocations: 24 kB / 0.5868 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/2.003, allocations: 358.6 kB / 0.5872 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/2.003, allocations: 3.906 kB / 0.5872 GB, free: 5.199 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/2.003, allocations: 15.94 kB / 0.5872 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/2.003, allocations: 21.42 kB / 0.5872 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/2.004, allocations: 225.7 kB / 0.5874 GB, free: 4.945 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.01889/2.023, allocations: 9.984 MB / 0.5972 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/2.023, allocations: 275 kB / 0.5974 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/2.023, allocations: 145.7 kB / 0.5976 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1611/2.185, allocations: 85.47 MB / 0.6811 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000651/2.185, allocations: 221.3 kB / 0.6813 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.866e-06/2.185, allocations: 4 kB / 0.6813 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.00143/2.187, allocations: 0.5753 MB / 0.6818 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/2.187, allocations: 89.05 kB / 0.6819 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/2.187, allocations: 254.7 kB / 0.6822 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/2.187, allocations: 25.7 kB / 0.6822 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/2.187, allocations: 172.8 kB / 0.6823 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/2.188, allocations: 149.8 kB / 0.6825 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/2.188, allocations: 65.81 kB / 0.6826 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002711/2.188, allocations: 346.8 kB / 0.6829 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/2.188, allocations: 108.8 kB / 0.683 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/2.188, allocations: 164.1 kB / 0.6831 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/2.189, allocations: 279.2 kB / 0.6834 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/2.189, allocations: 288 / 0.6834 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009477/2.19, allocations: 438.6 kB / 0.6838 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/2.19, allocations: 11.98 kB / 0.6838 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/2.19, allocations: 3.938 kB / 0.6838 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/2.191, allocations: 193.6 kB / 0.684 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/2.191, allocations: 23.98 kB / 0.684 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/2.194, allocations: 2.258 MB / 0.6863 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/2.194, allocations: 39.58 kB / 0.6863 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/2.194, allocations: 11.98 kB / 0.6863 GB, free: 4.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (checkValve.C2.b,checkValve.C1.a,puitsP1.C.a,sourceP1.C.b,checkValve.libre,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002013/2.195, allocations: 154.6 kB / 0.6865 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/2.195, allocations: 31.62 kB / 0.6865 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009051/2.196, allocations: 0.5811 MB / 0.687 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005341/2.196, allocations: 362.3 kB / 0.6874 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/2.196, allocations: 0 / 0.6874 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/2.196, allocations: 0 / 0.6874 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/2.198, allocations: 0.9755 MB / 0.6883 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.198, allocations: 4 kB / 0.6884 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/2.198, allocations: 55.91 kB / 0.6884 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006082/2.199, allocations: 122.4 kB / 0.6885 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/2.199, allocations: 8 kB / 0.6885 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006787/2.2, allocations: 0.6382 MB / 0.6892 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/2.2, allocations: 0 / 0.6892 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/2.201, allocations: 0.6426 MB / 0.6898 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/2.201, allocations: 141.5 kB / 0.6899 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/2.201, allocations: 12 kB / 0.6899 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/2.201, allocations: 24.11 kB / 0.6899 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/2.201, allocations: 35.83 kB / 0.69 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/2.202, allocations: 11.98 kB / 0.69 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003018/2.202, allocations: 218 kB / 0.6902 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.202, allocations: 0 / 0.6902 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.2134/2.415, allocations: 1.207 MB / 0.6914 GB, free: 225.9 MB / 0.5762 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.005304/2.421, allocations: 1.79 MB / 0.6931 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001028/2.422, allocations: 0.4892 MB / 0.6936 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.422, allocations: 2.938 kB / 0.6936 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/2.422, allocations: 195.3 kB / 0.6938 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/2.423, allocations: 127.6 kB / 0.6939 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/2.424, allocations: 1.035 MB / 0.6949 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/2.425, allocations: 0.8035 MB / 0.6957 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/2.425, allocations: 29.53 kB / 0.6957 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/2.425, allocations: 0 / 0.6957 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.03663/2.461, allocations: 26.88 MB / 0.722 GB, free: 217.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValveCalcHelperMain.o] Error 1