Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve.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.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6962/0.6962, allocations: 150.8 MB / 166.7 MB, free: 15.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.12e-05/1.12e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 31.97 MB / 237.4 MB, free: 5.422 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.TestDynamicReliefValve): time 1.298/1.413, allocations: 295.6 MB / 0.5205 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1609/1.574, allocations: 186.1 MB / 0.7023 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/1.574, allocations: 4 kB / 0.7023 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004681/1.575, allocations: 203 kB / 0.7025 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009006/1.576, allocations: 385.7 kB / 0.7029 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2414/1.817, allocations: 8.994 MB / 0.7117 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001098/1.818, allocations: 1.143 MB / 0.7128 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/1.819, allocations: 381.2 kB / 0.7131 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/1.819, allocations: 404.5 kB / 0.7135 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/1.82, allocations: 445.2 kB / 0.7139 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/1.82, allocations: 31.97 kB / 0.714 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02461/1.844, allocations: 20.38 MB / 0.7339 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/1.844, allocations: 150.9 kB / 0.734 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000444/1.845, allocations: 451.1 kB / 0.7344 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007554/1.852, allocations: 7.135 MB / 0.7414 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.853, allocations: 3.938 kB / 0.7414 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/1.853, allocations: 0 / 0.7414 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.853, allocations: 2.625 kB / 0.7414 GB, free: 0.9805 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00412/1.857, allocations: 2.259 MB / 0.7436 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/1.857, allocations: 7.906 kB / 0.7436 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/1.857, allocations: 103.2 kB / 0.7437 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/1.857, allocations: 449.3 kB / 0.7442 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/1.857, allocations: 78.14 kB / 0.7442 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/1.857, allocations: 70.52 kB / 0.7443 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.859, allocations: 0.9491 MB / 0.7452 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/1.859, allocations: 4.766 kB / 0.7452 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/1.859, allocations: 28.78 kB / 0.7453 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/1.859, allocations: 39.12 kB / 0.7453 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009437/1.86, allocations: 0.7151 MB / 0.746 GB, free: 14.67 MB / 0.5919 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.03355/1.893, allocations: 21.64 MB / 0.7671 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.894, allocations: 0.7465 MB / 0.7679 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/1.895, allocations: 410.6 kB / 0.7682 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2835/2.178, allocations: 160 MB / 0.9245 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007618/2.179, allocations: 0.4925 MB / 0.925 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=111): time 2.515e-06/2.179, allocations: 0 / 0.925 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of matching and sorting (n=111): time 0.005861/2.185, allocations: 2.137 MB / 0.9271 GB, free: 104 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/2.185, allocations: 144.3 kB / 0.9272 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/2.186, allocations: 0.555 MB / 0.9278 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/2.186, allocations: 41.08 kB / 0.9278 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/2.186, allocations: 348.5 kB / 0.9282 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/2.186, allocations: 364.5 kB / 0.9285 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/2.186, allocations: 91.16 kB / 0.9286 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/2.186, allocations: 391.6 kB / 0.929 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/2.187, allocations: 339.8 kB / 0.9293 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/2.187, allocations: 0.5128 MB / 0.9298 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/2.189, allocations: 0.9029 MB / 0.9307 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.189, allocations: 0 / 0.9307 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001797/2.19, allocations: 1.198 MB / 0.9318 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/2.19, allocations: 11.94 kB / 0.9319 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/2.19, allocations: 4 kB / 0.9319 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/2.193, allocations: 1.027 MB / 0.9329 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/2.194, allocations: 101.3 kB / 0.933 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/2.195, allocations: 1.182 MB / 0.9341 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/2.196, allocations: 122.1 kB / 0.9342 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/2.196, allocations: 35.39 kB / 0.9343 GB, free: 10.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 17 (sourceP.C.b,Sink1.C.a,VolumeD1.Cs3.b,VolumeD1.Cs2.b,VolumeD1.Cs1.b,VolumeD1.Ce.a,Pipe1.C2.b,Pipe1.C1.a,Sink2.C.a,Pipe2.C2.b,Pipe2.C1.a,ReliefValve.C2.b,ReliefValve.C1.a,ReliefValve.clapper_is_free,$whenCondition1,$whenCondition2,VolumeD1.Cs2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(7,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002552/2.196, allocations: 227.1 kB / 0.9345 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/2.196, allocations: 78.97 kB / 0.9346 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/2.199, allocations: 1.71 MB / 0.9362 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001787/2.2, allocations: 1.181 MB / 0.9374 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/2.2, allocations: 3.984 kB / 0.9374 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/2.201, allocations: 3.984 kB / 0.9374 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/2.204, allocations: 2.651 MB / 0.94 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2.204, allocations: 3.984 kB / 0.94 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/2.204, allocations: 129.3 kB / 0.9401 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/2.207, allocations: 0.8468 MB / 0.9409 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/2.207, allocations: 22.73 kB / 0.941 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/2.208, allocations: 1.147 MB / 0.9421 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.208, allocations: 4 kB / 0.9421 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/2.211, allocations: 1.855 MB / 0.9439 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/2.211, allocations: 263.1 kB / 0.9441 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/2.211, allocations: 16.44 kB / 0.9442 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/2.211, allocations: 58.83 kB / 0.9442 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/2.211, allocations: 64.34 kB / 0.9443 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/2.212, allocations: 30.05 kB / 0.9443 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004264/2.212, allocations: 470.6 kB / 0.9448 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/2.212, allocations: 2.906 kB / 0.9448 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00326/2.215, allocations: 1.676 MB / 0.9464 GB, free: 344 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ReliefValve.z,ReliefValve.v,ReliefValve.Wdyn,VolumeD1.h) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,ReliefValve.clapper_is_free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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 {(6,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005413/2.221, allocations: 2.397 MB / 0.9487 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002172/2.223, allocations: 1.246 MB / 0.9499 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/2.223, allocations: 5.969 kB / 0.95 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/2.224, allocations: 0.6473 MB / 0.9506 GB, free: 12.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/2.226, allocations: 328.1 kB / 0.9509 GB, free: 12.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/2.228, allocations: 2.596 MB / 0.9534 GB, free: 9.496 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/2.229, allocations: 1.055 MB / 0.9545 GB, free: 8.418 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/2.229, allocations: 63.42 kB / 0.9545 GB, free: 8.359 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/2.229, allocations: 0 / 0.9545 GB, free: 8.359 MB / 0.795 GB Notification: Performance of Templates: time 0.1775/2.407, allocations: 38.78 MB / 0.9924 GB, free: 442.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve.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.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValveCalcHelperMain.o] Error 1