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.6832/0.6832, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.326e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 31.99 MB / 237.4 MB, free: 5.621 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.Examples.SimpleExamples.TestDynamicCheckValve): time 1.294/1.413, allocations: 293.8 MB / 0.5188 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03515/1.448, allocations: 37.46 MB / 0.5553 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/1.448, allocations: 4 kB / 0.5553 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/1.448, allocations: 95.47 kB / 0.5554 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/1.448, allocations: 115.2 kB / 0.5555 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01495/1.463, allocations: 7.445 MB / 0.5628 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/1.464, allocations: 426.6 kB / 0.5632 GB, free: 80 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/1.464, allocations: 130.7 kB / 0.5634 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/1.464, allocations: 151.2 kB / 0.5635 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/1.464, allocations: 151.2 kB / 0.5636 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/1.464, allocations: 12 kB / 0.5637 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/1.487, allocations: 17.81 MB / 0.581 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/1.487, allocations: 47.77 kB / 0.5811 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/1.487, allocations: 188.7 kB / 0.5813 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005897/1.493, allocations: 5.672 MB / 0.5868 GB, free: 7.879 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/1.493, allocations: 4 kB / 0.5868 GB, free: 7.875 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.654e-06/1.493, allocations: 0 / 0.5868 GB, free: 7.875 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/1.493, allocations: 0 / 0.5868 GB, free: 7.875 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.002727/1.496, allocations: 1.493 MB / 0.5883 GB, free: 6.332 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/1.496, allocations: 12.03 kB / 0.5883 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/1.496, allocations: 39.47 kB / 0.5883 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/1.496, allocations: 266.3 kB / 0.5886 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/1.496, allocations: 46.27 kB / 0.5886 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/1.496, allocations: 24 kB / 0.5886 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/1.497, allocations: 354.7 kB / 0.589 GB, free: 5.527 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.497, allocations: 1.781 kB / 0.589 GB, free: 5.527 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/1.497, allocations: 12 kB / 0.589 GB, free: 5.516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/1.497, allocations: 19.92 kB / 0.589 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/1.497, allocations: 225.7 kB / 0.5892 GB, free: 5.277 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.01709/1.514, allocations: 10.05 MB / 0.599 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/1.515, allocations: 306.8 kB / 0.5993 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/1.515, allocations: 146.7 kB / 0.5995 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1511/1.666, allocations: 86.2 MB / 0.6837 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/1.666, allocations: 220 kB / 0.6839 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/1.666, allocations: 0 / 0.6839 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.00108/1.668, allocations: 0.585 MB / 0.6844 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.668, allocations: 85.06 kB / 0.6845 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/1.668, allocations: 250.6 kB / 0.6848 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.668, allocations: 29.7 kB / 0.6848 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/1.668, allocations: 168.8 kB / 0.6849 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/1.668, allocations: 157.7 kB / 0.6851 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/1.668, allocations: 41.69 kB / 0.6851 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.668, allocations: 342.8 kB / 0.6855 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.668, allocations: 112.8 kB / 0.6856 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/1.669, allocations: 168 kB / 0.6857 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/1.669, allocations: 287.2 kB / 0.686 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.669, allocations: 4 kB / 0.686 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007124/1.67, allocations: 447.2 kB / 0.6864 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.67, allocations: 4 kB / 0.6864 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.67, allocations: 7.984 kB / 0.6864 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000919/1.671, allocations: 217.6 kB / 0.6867 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/1.671, allocations: 31.91 kB / 0.6867 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/1.673, allocations: 2.266 MB / 0.6889 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/1.673, allocations: 43.7 kB / 0.6889 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/1.673, allocations: 15.94 kB / 0.689 GB, free: 4.18 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.0001335/1.673, allocations: 146.4 kB / 0.6891 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/1.673, allocations: 35.61 kB / 0.6891 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007051/1.674, allocations: 0.5795 MB / 0.6897 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004581/1.674, allocations: 366.2 kB / 0.69 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/1.674, allocations: 4 kB / 0.69 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.674, allocations: 3.984 kB / 0.69 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/1.675, allocations: 0.9765 MB / 0.691 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.675, allocations: 0 / 0.691 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/1.676, allocations: 59.91 kB / 0.6911 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/1.676, allocations: 138.2 kB / 0.6912 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/1.676, allocations: 8 kB / 0.6912 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004152/1.677, allocations: 0.6342 MB / 0.6918 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.677, allocations: 0 / 0.6918 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/1.678, allocations: 0.6583 MB / 0.6925 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.678, allocations: 144.7 kB / 0.6926 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/1.678, allocations: 11.94 kB / 0.6926 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.678, allocations: 34.89 kB / 0.6926 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/1.678, allocations: 35.89 kB / 0.6927 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.678, allocations: 12 kB / 0.6927 GB, free: 176 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.1355/1.813, allocations: 215.9 kB / 0.6929 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.41e-07/1.814, allocations: 1.531 kB / 0.6929 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002556/1.816, allocations: 1.208 MB / 0.6941 GB, free: 228.6 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.004584/1.821, allocations: 1.76 MB / 0.6958 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008497/1.822, allocations: 0.4917 MB / 0.6963 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.822, allocations: 1.125 kB / 0.6963 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/1.822, allocations: 198.7 kB / 0.6965 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/1.823, allocations: 129.7 kB / 0.6966 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/1.824, allocations: 1.112 MB / 0.6977 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/1.824, allocations: 0.8096 MB / 0.6985 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/1.824, allocations: 28.08 kB / 0.6985 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/1.824, allocations: 1.438 kB / 0.6985 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02616/1.85, allocations: 26.32 MB / 0.7242 GB, free: 219.9 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