Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.6902/0.6902, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.137e-06/9.157e-06, allocations: 0 / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 31.98 MB / 237.4 MB, free: 5.406 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.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve): time 1.316/1.435, allocations: 293.7 MB / 0.5187 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0362/1.471, allocations: 37.44 MB / 0.5552 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/1.471, allocations: 0 / 0.5552 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/1.471, allocations: 107.4 kB / 0.5553 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/1.472, allocations: 111.2 kB / 0.5555 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01457/1.486, allocations: 7.439 MB / 0.5627 GB, free: 376 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/1.487, allocations: 430.7 kB / 0.5631 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/1.487, allocations: 133 kB / 0.5633 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/1.487, allocations: 151.2 kB / 0.5634 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/1.487, allocations: 155.2 kB / 0.5635 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/1.487, allocations: 12 kB / 0.5636 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02241/1.51, allocations: 17.81 MB / 0.581 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/1.51, allocations: 43.78 kB / 0.581 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/1.51, allocations: 196.6 kB / 0.5812 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00583/1.516, allocations: 5.668 MB / 0.5867 GB, free: 7.738 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.516, allocations: 8 kB / 0.5867 GB, free: 7.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.232e-06/1.516, allocations: 0 / 0.5867 GB, free: 7.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/1.516, allocations: 0 / 0.5867 GB, free: 7.73 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.002692/1.518, allocations: 1.489 MB / 0.5882 GB, free: 6.191 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/1.518, allocations: 8.031 kB / 0.5882 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/1.519, allocations: 43.47 kB / 0.5882 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/1.519, allocations: 262.3 kB / 0.5885 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/1.519, allocations: 51.7 kB / 0.5885 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/1.519, allocations: 24 kB / 0.5885 GB, free: 5.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/1.519, allocations: 350.7 kB / 0.5889 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.519, allocations: 3.938 kB / 0.5889 GB, free: 5.391 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/1.519, allocations: 12 kB / 0.5889 GB, free: 5.379 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/1.519, allocations: 15.92 kB / 0.5889 GB, free: 5.363 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/1.52, allocations: 229.7 kB / 0.5891 GB, free: 5.141 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.01699/1.537, allocations: 10.05 MB / 0.5989 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/1.537, allocations: 306.8 kB / 0.5992 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/1.538, allocations: 145.2 kB / 0.5994 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1503/1.688, allocations: 86.21 MB / 0.6836 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/1.688, allocations: 220.1 kB / 0.6838 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/1.688, allocations: 0 / 0.6838 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.001103/1.689, allocations: 0.5891 MB / 0.6843 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/1.689, allocations: 89.05 kB / 0.6844 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/1.69, allocations: 254.6 kB / 0.6847 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/1.69, allocations: 33.64 kB / 0.6847 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/1.69, allocations: 160.9 kB / 0.6849 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/1.69, allocations: 157.7 kB / 0.685 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/1.69, allocations: 41.69 kB / 0.6851 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.69, allocations: 346.8 kB / 0.6854 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/1.69, allocations: 108.8 kB / 0.6855 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/1.69, allocations: 162 kB / 0.6856 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/1.691, allocations: 287.2 kB / 0.6859 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.691, allocations: 0 / 0.6859 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007257/1.692, allocations: 455.2 kB / 0.6863 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.692, allocations: 4 kB / 0.6864 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.692, allocations: 3.938 kB / 0.6864 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/1.693, allocations: 225.6 kB / 0.6866 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.693, allocations: 23.98 kB / 0.6866 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/1.695, allocations: 2.266 MB / 0.6888 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/1.695, allocations: 43.58 kB / 0.6888 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/1.695, allocations: 17.48 kB / 0.6889 GB, free: 4.035 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.0001277/1.695, allocations: 149.7 kB / 0.689 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/1.695, allocations: 35.62 kB / 0.689 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/1.696, allocations: 0.5678 MB / 0.6896 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004651/1.696, allocations: 366.3 kB / 0.6899 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/1.696, allocations: 0 / 0.6899 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.696, allocations: 7.984 kB / 0.69 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/1.697, allocations: 0.9848 MB / 0.6909 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.697, allocations: 0 / 0.6909 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/1.698, allocations: 63.91 kB / 0.691 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/1.698, allocations: 133.4 kB / 0.6911 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/1.698, allocations: 11.98 kB / 0.6911 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004112/1.699, allocations: 0.6241 MB / 0.6917 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.699, allocations: 4.062 kB / 0.6917 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/1.699, allocations: 0.6583 MB / 0.6924 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/1.7, allocations: 144.6 kB / 0.6925 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/1.7, allocations: 12.06 kB / 0.6925 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/1.7, allocations: 27.83 kB / 0.6925 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/1.7, allocations: 39.83 kB / 0.6926 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/1.7, allocations: 11.98 kB / 0.6926 GB, free: 32 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.1359/1.836, allocations: 214.7 kB / 0.6928 GB, free: 228 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/1.836, allocations: 0 / 0.6928 GB, free: 228 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002499/1.838, allocations: 1.209 MB / 0.694 GB, free: 228 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.003815/1.842, allocations: 1.768 MB / 0.6957 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007735/1.843, allocations: 0.4904 MB / 0.6962 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.843, allocations: 0 / 0.6962 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/1.843, allocations: 199.2 kB / 0.6964 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/1.844, allocations: 121.1 kB / 0.6965 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/1.845, allocations: 1.114 MB / 0.6976 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/1.845, allocations: 0.8145 MB / 0.6984 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/1.845, allocations: 29.47 kB / 0.6984 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/1.845, allocations: 0 / 0.6984 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02374/1.869, allocations: 26.32 MB / 0.7241 GB, free: 219.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -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.TestDynamicCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValveCalcHelperMain.o] Error 1