Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6965/0.6965, allocations: 150.8 MB / 166.7 MB, free: 15.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.547e-06/9.558e-06, allocations: 0 / 205.4 MB, free: 9.797 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 31.98 MB / 237.4 MB, free: 5.461 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.TestDiaphragm): time 1.314/1.434, allocations: 293.5 MB / 0.5184 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03668/1.471, allocations: 37.25 MB / 0.5548 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/1.471, allocations: 4 kB / 0.5548 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/1.471, allocations: 79.62 kB / 0.5549 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/1.471, allocations: 83.36 kB / 0.555 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/1.485, allocations: 7.36 MB / 0.5622 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/1.486, allocations: 334.9 kB / 0.5625 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/1.486, allocations: 95.77 kB / 0.5626 GB, free: 484 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/1.486, allocations: 127.3 kB / 0.5627 GB, free: 356 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/1.486, allocations: 99.44 kB / 0.5628 GB, free: 256 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/1.486, allocations: 8 kB / 0.5628 GB, free: 248 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02245/1.509, allocations: 17.89 MB / 0.5803 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/1.509, allocations: 31.8 kB / 0.5803 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/1.509, allocations: 153 kB / 0.5804 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005856/1.515, allocations: 5.648 MB / 0.586 GB, free: 8.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/1.515, allocations: 0 / 0.586 GB, free: 8.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/1.515, allocations: 0 / 0.586 GB, free: 8.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/1.515, allocations: 0 / 0.586 GB, free: 8.48 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002429/1.517, allocations: 1.408 MB / 0.5873 GB, free: 7.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/1.517, allocations: 12.02 kB / 0.5873 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/1.517, allocations: 31.62 kB / 0.5874 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/1.518, allocations: 228.1 kB / 0.5876 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/1.518, allocations: 16.44 kB / 0.5876 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/1.518, allocations: 20 kB / 0.5876 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/1.518, allocations: 317.1 kB / 0.5879 GB, free: 6.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.518, allocations: 3.938 kB / 0.5879 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.518, allocations: 8.609 kB / 0.5879 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/1.518, allocations: 11.98 kB / 0.5879 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/1.518, allocations: 177 kB / 0.5881 GB, free: 6.145 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.03217/1.55, allocations: 18.19 MB / 0.6059 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/1.551, allocations: 150.5 kB / 0.606 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.668e-05/1.551, allocations: 84.84 kB / 0.6061 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1349/1.686, allocations: 78.12 MB / 0.6824 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.686, allocations: 42.55 kB / 0.6824 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/1.686, allocations: 0 / 0.6824 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0007805/1.687, allocations: 428 kB / 0.6828 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.687, allocations: 77.11 kB / 0.6829 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/1.687, allocations: 227 kB / 0.6831 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/1.687, allocations: 29.7 kB / 0.6832 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/1.687, allocations: 156.4 kB / 0.6833 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/1.687, allocations: 110.3 kB / 0.6834 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/1.687, allocations: 33.7 kB / 0.6834 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.687, allocations: 330.8 kB / 0.6838 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/1.687, allocations: 79.97 kB / 0.6838 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/1.688, allocations: 131.2 kB / 0.684 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/1.688, allocations: 229.5 kB / 0.6842 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.688, allocations: 4.031 kB / 0.6842 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003931/1.688, allocations: 298 kB / 0.6845 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.688, allocations: 7.938 kB / 0.6845 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.688, allocations: 4 kB / 0.6845 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008713/1.689, allocations: 155.2 kB / 0.6846 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/1.689, allocations: 19.98 kB / 0.6846 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000463/1.69, allocations: 0.6147 MB / 0.6852 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/1.69, allocations: 27.66 kB / 0.6853 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/1.69, allocations: 15.98 kB / 0.6853 GB, free: 7.793 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.69, allocations: 141.8 kB / 0.6854 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/1.69, allocations: 19.72 kB / 0.6854 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008305/1.691, allocations: 0.6096 MB / 0.686 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004897/1.691, allocations: 230.3 kB / 0.6863 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.691, allocations: 3.938 kB / 0.6863 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.691, allocations: 0 / 0.6863 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/1.692, allocations: 0.7383 MB / 0.687 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/1.692, allocations: 0 / 0.687 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/1.692, allocations: 19.98 kB / 0.687 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/1.693, allocations: 140.7 kB / 0.6871 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.693, allocations: 4 kB / 0.6871 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004269/1.693, allocations: 0.6513 MB / 0.6878 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.694, allocations: 0 / 0.6878 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/1.694, allocations: 342.1 kB / 0.6881 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.694, allocations: 136.7 kB / 0.6882 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/1.694, allocations: 11.86 kB / 0.6882 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/1.694, allocations: 12.06 kB / 0.6883 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/1.694, allocations: 11.92 kB / 0.6883 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/1.694, allocations: 4 kB / 0.6883 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000214/1.695, allocations: 237.9 kB / 0.6885 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.212e-06/1.695, allocations: 0 / 0.6885 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002121/1.697, allocations: 1.214 MB / 0.6897 GB, free: 3.086 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004126/1.701, allocations: 1.803 MB / 0.6914 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004762/1.701, allocations: 245.5 kB / 0.6917 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.701, allocations: 0 / 0.6917 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/1.702, allocations: 97.42 kB / 0.6918 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/1.702, allocations: 121.3 kB / 0.6919 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/1.703, allocations: 0.6808 MB / 0.6925 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1327/1.836, allocations: 0.7605 MB / 0.6933 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/1.836, allocations: 22.78 kB / 0.6933 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/1.836, allocations: 2.062 kB / 0.6933 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.02449/1.86, allocations: 24.79 MB / 0.7175 GB, free: 220.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.TestDiaphragmCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.o] Error 1