Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.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.6765/0.6765, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.018e-05, allocations: 0 / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 31.98 MB / 237.4 MB, free: 5.434 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve): time 1.302/1.423, allocations: 296.4 MB / 0.5212 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3939/1.817, allocations: 195.1 MB / 0.7118 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005397/1.817, allocations: 17.81 kB / 0.7118 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003246/1.818, allocations: 160.9 kB / 0.712 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001058/1.819, allocations: 470.6 kB / 0.7124 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02264/1.841, allocations: 11.14 MB / 0.7233 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001111/1.843, allocations: 1.523 MB / 0.7248 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/1.843, allocations: 0.6287 MB / 0.7254 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/1.843, allocations: 0.512 MB / 0.7259 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/1.844, allocations: 0.6234 MB / 0.7265 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/1.844, allocations: 66.5 kB / 0.7266 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0281/1.872, allocations: 22.96 MB / 0.749 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/1.872, allocations: 261.6 kB / 0.7492 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005948/1.873, allocations: 0.6279 MB / 0.7499 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/1.884, allocations: 8.671 MB / 0.7583 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.884, allocations: 0 / 0.7583 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.394e-06/1.884, allocations: 0 / 0.7583 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.713e-05/1.884, allocations: 1.75 kB / 0.7583 GB, free: 13.85 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004906/1.889, allocations: 2.815 MB / 0.7611 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/1.889, allocations: 8.281 kB / 0.7611 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/1.889, allocations: 166.5 kB / 0.7612 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/1.89, allocations: 0.6526 MB / 0.7619 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/1.89, allocations: 120.8 kB / 0.762 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/1.89, allocations: 125.8 kB / 0.7621 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/1.891, allocations: 1.369 MB / 0.7635 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/1.891, allocations: 2.906 kB / 0.7635 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/1.892, allocations: 58.41 kB / 0.7635 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/1.892, allocations: 31.81 kB / 0.7635 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/1.893, allocations: 1.174 MB / 0.7647 GB, free: 10.82 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.0159/1.909, allocations: 15.81 MB / 0.7801 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.91, allocations: 0.8861 MB / 0.781 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/1.911, allocations: 295.1 kB / 0.7813 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6583/2.569, allocations: 290.8 MB / 1.065 GB, free: 392.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/2.57, allocations: 393.2 kB / 1.066 GB, free: 392.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=59): time 1.803e-06/2.57, allocations: 2.078 kB / 1.066 GB, free: 392.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59): time 0.003189/2.573, allocations: 1.329 MB / 1.067 GB, free: 391.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/2.573, allocations: 89.42 kB / 1.067 GB, free: 391.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/2.574, allocations: 0.8487 MB / 1.068 GB, free: 390.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/2.574, allocations: 33.45 kB / 1.068 GB, free: 390.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/2.574, allocations: 0.6082 MB / 1.068 GB, free: 390.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/2.574, allocations: 211.7 kB / 1.069 GB, free: 390.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/2.574, allocations: 107.7 kB / 1.069 GB, free: 390.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/2.574, allocations: 395.7 kB / 1.069 GB, free: 389.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/2.575, allocations: 290.7 kB / 1.069 GB, free: 389.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/2.575, allocations: 0.6812 MB / 1.07 GB, free: 388.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009367/2.576, allocations: 1.007 MB / 1.071 GB, free: 387.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/2.576, allocations: 7.938 kB / 1.071 GB, free: 387.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001519/2.578, allocations: 1.163 MB / 1.072 GB, free: 386.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/2.578, allocations: 15 kB / 1.072 GB, free: 386.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/2.578, allocations: 14.19 kB / 1.072 GB, free: 386.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/2.58, allocations: 0.5594 MB / 1.073 GB, free: 386.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/2.581, allocations: 204 kB / 1.073 GB, free: 386.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007169/2.581, allocations: 0.858 MB / 1.074 GB, free: 385.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/2.582, allocations: 134.3 kB / 1.074 GB, free: 385.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/2.582, allocations: 59.52 kB / 1.074 GB, free: 385.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 22 (sourceP.fluid1,sourceP.C.ftype,VolumeD1.Cs1.ftype,VolumeD1.Cs3.ftype,VolumeD1.Cs2.ftype,VolumeD1.fluids[1],ReliefValve.fluid,Pipe2.fluid,Sink2.fluid,Pipe1.fluid,Sink1.fluid,ReliefValve.clapper_is_free,$whenCondition1,$whenCondition2,VolumeD1.fluid1,ReliefValve.C1.diff_on_2,VolumeD1.Cs3.diff_on_1,VolumeD1.Cs2.diff_on_1,VolumeD1.Cs1.diff_on_1,ReliefValve.C2.diff_on_1,VolumeD1.Ce.diff_on_2,VolumeD1.Cs2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002911/2.582, allocations: 301.4 kB / 1.074 GB, free: 385.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/2.582, allocations: 98.78 kB / 1.074 GB, free: 385 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/2.584, allocations: 0.8662 MB / 1.075 GB, free: 384.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/2.584, allocations: 5.969 kB / 1.075 GB, free: 384.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/2.584, allocations: 11.94 kB / 1.075 GB, free: 384.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/2.584, allocations: 3.984 kB / 1.075 GB, free: 384.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/2.586, allocations: 1.906 MB / 1.077 GB, free: 382.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.586, allocations: 2.188 kB / 1.077 GB, free: 382.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/2.586, allocations: 103.8 kB / 1.077 GB, free: 382.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/2.588, allocations: 408.7 kB / 1.078 GB, free: 382.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/2.588, allocations: 15.88 kB / 1.078 GB, free: 382.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005886/2.588, allocations: 0.8016 MB / 1.078 GB, free: 381.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.588, allocations: 0 / 1.078 GB, free: 381.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/2.59, allocations: 1.233 MB / 1.08 GB, free: 380.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/2.59, allocations: 243.1 kB / 1.08 GB, free: 380.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/2.59, allocations: 15.81 kB / 1.08 GB, free: 380.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/2.591, allocations: 39.72 kB / 1.08 GB, free: 380.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/2.591, allocations: 52.36 kB / 1.08 GB, free: 380.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/2.591, allocations: 23.92 kB / 1.08 GB, free: 380.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004316/2.591, allocations: 0.5434 MB / 1.08 GB, free: 379.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/2.591, allocations: 0 / 1.08 GB, free: 379.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003253/2.594, allocations: 2.062 MB / 1.082 GB, free: 378.2 MB / 0.8106 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00609/2.601, allocations: 2.982 MB / 1.085 GB, free: 375.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001184/2.602, allocations: 0.8099 MB / 1.086 GB, free: 375.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/2.602, allocations: 7.688 kB / 1.086 GB, free: 375.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/2.602, allocations: 362.5 kB / 1.087 GB, free: 374.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/2.603, allocations: 178.5 kB / 1.087 GB, free: 374.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/2.605, allocations: 2.653 MB / 1.089 GB, free: 372.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/2.606, allocations: 1.072 MB / 1.09 GB, free: 371.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/2.606, allocations: 79.23 kB / 1.09 GB, free: 371.1 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/2.606, allocations: 0 / 1.09 GB, free: 371.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.03918/2.645, allocations: 44.79 MB / 1.134 GB, free: 327.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValveCalcHelperMain.o] Error 1