Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.SimpleExamples.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicReliefValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicReliefValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7307/0.7307, allocations: 150.8 MB / 166.7 MB, free: 15.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.352e-05/1.353e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 31.99 MB / 237.4 MB, free: 5.633 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.SimpleExamples.TestDynamicReliefValve): time 1.423/1.557, allocations: 295.7 MB / 0.5206 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4523/2.01, allocations: 193.4 MB / 0.7095 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/2.01, allocations: 12.19 kB / 0.7095 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/2.011, allocations: 301.5 kB / 0.7098 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/2.012, allocations: 0.5322 MB / 0.7103 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02705/2.039, allocations: 10.62 MB / 0.7206 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001911/2.041, allocations: 1.305 MB / 0.7219 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/2.042, allocations: 0.5838 MB / 0.7225 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/2.042, allocations: 489.7 kB / 0.723 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006936/2.043, allocations: 0.6841 MB / 0.7236 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.575e-05/2.043, allocations: 52.44 kB / 0.7237 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03253/2.076, allocations: 22.75 MB / 0.7459 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004465/2.076, allocations: 325.2 kB / 0.7462 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008699/2.077, allocations: 0.6191 MB / 0.7468 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01323/2.09, allocations: 8.666 MB / 0.7553 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/2.09, allocations: 4 kB / 0.7553 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/2.09, allocations: 0 / 0.7553 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.335e-05/2.09, allocations: 3.312 kB / 0.7553 GB, free: 13.89 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.006704/2.097, allocations: 2.861 MB / 0.7581 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/2.097, allocations: 15.27 kB / 0.7581 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/2.097, allocations: 159.8 kB / 0.7582 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/2.098, allocations: 0.7815 MB / 0.759 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/2.099, allocations: 97.33 kB / 0.7591 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/2.099, allocations: 97.19 kB / 0.7592 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/2.1, allocations: 1.1 MB / 0.7603 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/2.1, allocations: 1.859 kB / 0.7603 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/2.1, allocations: 38.91 kB / 0.7603 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/2.1, allocations: 22.56 kB / 0.7603 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/2.102, allocations: 1.069 MB / 0.7614 GB, free: 10.97 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.004764/2.107, allocations: 4.738 MB / 0.766 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/2.109, allocations: 0.7742 MB / 0.7667 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/2.109, allocations: 334.8 kB / 0.7671 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6044/2.713, allocations: 228 MB / 0.9897 GB, free: 453.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007672/2.714, allocations: 422.2 kB / 0.9902 GB, free: 453.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.185e-06/2.714, allocations: 0 / 0.9902 GB, free: 453.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.004761/2.719, allocations: 1.594 MB / 0.9917 GB, free: 453.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/2.719, allocations: 189.9 kB / 0.9919 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/2.721, allocations: 1.361 MB / 0.9932 GB, free: 453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/2.721, allocations: 41.11 kB / 0.9933 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/2.721, allocations: 0.5735 MB / 0.9938 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/2.721, allocations: 238.3 kB / 0.994 GB, free: 452.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/2.721, allocations: 83.97 kB / 0.9941 GB, free: 452.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/2.721, allocations: 339.1 kB / 0.9944 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/2.722, allocations: 345.4 kB / 0.9948 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/2.722, allocations: 0.5129 MB / 0.9953 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/2.723, allocations: 0.775 MB / 0.996 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/2.723, allocations: 0 / 0.996 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001661/2.725, allocations: 1.118 MB / 0.9971 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/2.725, allocations: 9.281 kB / 0.9971 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/2.725, allocations: 3.781 kB / 0.9971 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/2.729, allocations: 0.7007 MB / 0.9978 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/2.73, allocations: 164.7 kB / 0.998 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007871/2.73, allocations: 0.8623 MB / 0.9988 GB, free: 451.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/2.731, allocations: 113.6 kB / 0.9989 GB, free: 451.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/2.731, allocations: 36.47 kB / 0.999 GB, free: 451.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 16 (sourceP.C.ftype,reliefValve.fluid,pipe.fluid,sinkP.fluid,bend.fluid,diaphragm.fluid,reliefValve.clapper_is_free,$whenCondition1,$whenCondition2,sourceP.fluid1,reliefValve.C2.diff_on_2,bend.C2.diff_on_2,pipe.C1.diff_on_2,bend.C2.diff_on_1,diaphragm.C2.diff_on_1,reliefValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003638/2.731, allocations: 346.5 kB / 0.9993 GB, free: 451 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.732, allocations: 116.1 kB / 0.9994 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/2.734, allocations: 1.017 MB / 1 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/2.734, allocations: 8.406 kB / 1 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/2.734, allocations: 3.375 kB / 1 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/2.734, allocations: 4.031 kB / 1 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/2.736, allocations: 2.089 MB / 1.002 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/2.736, allocations: 12.23 kB / 1.002 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/2.737, allocations: 110 kB / 1.003 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/2.739, allocations: 0.5854 MB / 1.003 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/2.74, allocations: 20.12 kB / 1.003 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007188/2.74, allocations: 0.8781 MB / 1.004 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.74, allocations: 1.938 kB / 1.004 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/2.743, allocations: 1.411 MB / 1.005 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/2.743, allocations: 289 kB / 1.006 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/2.743, allocations: 16.25 kB / 1.006 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/2.744, allocations: 54.88 kB / 1.006 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/2.744, allocations: 75.05 kB / 1.006 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/2.744, allocations: 29.58 kB / 1.006 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000879/2.745, allocations: 0.9837 MB / 1.007 GB, free: 449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/2.745, allocations: 0 / 1.007 GB, free: 449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004117/2.749, allocations: 2.023 MB / 1.009 GB, free: 448.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (reliefValve.z,reliefValve.v,reliefValve.Wdyn) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,reliefValve.clapper_is_free,diaphragm.C2.diff_on_1,reliefValve.C2.diff_on_1,pipe.C1.diff_on_2,bend.C2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005826/2.755, allocations: 2.966 MB / 1.012 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001507/2.756, allocations: 0.8144 MB / 1.012 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.756, allocations: 2.156 kB / 1.012 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/2.757, allocations: 415.2 kB / 1.013 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/2.758, allocations: 177.8 kB / 1.013 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/2.761, allocations: 2.876 MB / 1.016 GB, free: 447 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/2.761, allocations: 1.142 MB / 1.017 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/2.762, allocations: 84.16 kB / 1.017 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/2.762, allocations: 0 / 1.017 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.04354/2.805, allocations: 46.23 MB / 1.062 GB, free: 405.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicReliefValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.SimpleExamples.TestDynamicReliefValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicReliefValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicReliefValveCalcHelperMain.o] Error 1