Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.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.SimpleExamples.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.311e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 31.99 MB / 237.4 MB, free: 5.387 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.SimpleExamples.TestVolumeATh): time 1.331/1.45, allocations: 295.3 MB / 0.5202 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1621/1.612, allocations: 186 MB / 0.7018 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/1.612, allocations: 4 kB / 0.7018 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004518/1.613, allocations: 179.1 kB / 0.702 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005057/1.613, allocations: 254.2 kB / 0.7022 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2464/1.86, allocations: 9.01 MB / 0.711 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009774/1.861, allocations: 0.883 MB / 0.7119 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/1.861, allocations: 322.3 kB / 0.7122 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/1.861, allocations: 309 kB / 0.7125 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/1.862, allocations: 317.5 kB / 0.7128 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/1.862, allocations: 24.62 kB / 0.7128 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02153/1.883, allocations: 17.38 MB / 0.7298 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/1.884, allocations: 119.4 kB / 0.7299 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003525/1.884, allocations: 372.7 kB / 0.7303 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006476/1.89, allocations: 6.397 MB / 0.7365 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/1.89, allocations: 2.438 kB / 0.7365 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/1.89, allocations: 0 / 0.7365 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.89, allocations: 0 / 0.7365 GB, free: 3.203 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00327/1.894, allocations: 1.905 MB / 0.7384 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/1.894, allocations: 8.781 kB / 0.7384 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/1.894, allocations: 87.73 kB / 0.7385 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/1.894, allocations: 413 kB / 0.7389 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/1.894, allocations: 43.91 kB / 0.7389 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/1.894, allocations: 60.28 kB / 0.739 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/1.895, allocations: 0.757 MB / 0.7397 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.895, allocations: 6.312 kB / 0.7397 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/1.895, allocations: 25.78 kB / 0.7397 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/1.895, allocations: 29.05 kB / 0.7398 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/1.896, allocations: 495.1 kB / 0.7402 GB, free: 1.219 MB / 0.5762 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.002584/1.898, allocations: 4.547 MB / 0.7447 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/1.899, allocations: 333.2 kB / 0.745 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/1.899, allocations: 232.4 kB / 0.7452 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2681/2.167, allocations: 151.8 MB / 0.8934 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/2.167, allocations: 38.55 kB / 0.8935 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 2.234e-06/2.167, allocations: 0 / 0.8935 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.002732/2.17, allocations: 1.162 MB / 0.8946 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/2.17, allocations: 88.94 kB / 0.8947 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/2.171, allocations: 0.5013 MB / 0.8952 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/2.171, allocations: 33.39 kB / 0.8952 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/2.171, allocations: 323.6 kB / 0.8955 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/2.171, allocations: 264.6 kB / 0.8958 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/2.171, allocations: 71.8 kB / 0.8958 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/2.171, allocations: 368.7 kB / 0.8962 GB, free: 400 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/2.171, allocations: 175.6 kB / 0.8964 GB, free: 292 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/2.172, allocations: 345.4 kB / 0.8967 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/2.173, allocations: 0.5614 MB / 0.8972 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/2.173, allocations: 4 kB / 0.8972 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001238/2.174, allocations: 0.8008 MB / 0.898 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/2.174, allocations: 8 kB / 0.898 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/2.174, allocations: 4.438 kB / 0.898 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/2.176, allocations: 0.762 MB / 0.8988 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/2.176, allocations: 45.78 kB / 0.8988 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/2.177, allocations: 1.528 MB / 0.9003 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/2.178, allocations: 82.52 kB / 0.9004 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/2.178, allocations: 19.98 kB / 0.9004 GB, free: 12.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,sourceP2.C.b,sourceQ.C.b,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,sink.C.a,volumeATh.Cs2.b,volumeATh.Cs1.b,volumeATh.Ce2.a,volumeATh.Ce1.a,volumeATh.Cs2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * 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,4), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002166/2.178, allocations: 209.5 kB / 0.9006 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/2.178, allocations: 67.09 kB / 0.9007 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/2.18, allocations: 1.215 MB / 0.9019 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001091/2.181, allocations: 0.8845 MB / 0.9027 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.181, allocations: 0 / 0.9027 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/2.181, allocations: 7.969 kB / 0.9027 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/2.184, allocations: 2.554 MB / 0.9052 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/2.184, allocations: 8 kB / 0.9052 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/2.184, allocations: 136.2 kB / 0.9054 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/2.185, allocations: 0.576 MB / 0.9059 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/2.185, allocations: 22.88 kB / 0.9059 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/2.187, allocations: 1.475 MB / 0.9074 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/2.187, allocations: 6.906 kB / 0.9074 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/2.188, allocations: 1.554 MB / 0.9089 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/2.188, allocations: 248.8 kB / 0.9091 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/2.189, allocations: 19.06 kB / 0.9092 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/2.189, allocations: 39.02 kB / 0.9092 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/2.189, allocations: 66.39 kB / 0.9093 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/2.189, allocations: 33.42 kB / 0.9093 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003807/2.189, allocations: 437.7 kB / 0.9097 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/2.189, allocations: 0 / 0.9097 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003064/2.192, allocations: 1.498 MB / 0.9112 GB, free: 3.887 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 1 (volumeATh.h) * 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 (72): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,4), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004524/2.197, allocations: 2.184 MB / 0.9133 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001379/2.198, allocations: 0.9678 MB / 0.9143 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.198, allocations: 4 kB / 0.9143 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007623/2.199, allocations: 488.6 kB / 0.9147 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/2.201, allocations: 315.2 kB / 0.915 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/2.203, allocations: 2.258 MB / 0.9172 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/2.204, allocations: 1.031 MB / 0.9182 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/2.204, allocations: 59.12 kB / 0.9183 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of SimCode: time 2.1e-07/2.204, allocations: 4 kB / 0.9183 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of Templates: time 0.03898/2.243, allocations: 38.84 MB / 0.9562 GB, free: 6.777 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.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.SimpleExamples.TestVolumeAThCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeAThCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeAThCalcHelperMain.o] Error 1