Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009553, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 174.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 278.1 kB / 292.3 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9542/0.9542, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004424, allocations: 19.81 kB / 0.5993 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1893, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001306/0.1906, allocations: 0.9882 MB / 0.6867 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5029/0.6935, allocations: 134.2 MB / 0.8178 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.6936, allocations: 0 / 0.8178 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.6936, allocations: 0 / 0.8178 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-05/0.6937, allocations: 11.08 kB / 0.8178 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.6948, allocations: 364.9 kB / 0.8182 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.6949, allocations: 50.58 kB / 0.8182 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.6949, allocations: 1.812 kB / 0.8182 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.695, allocations: 21 kB / 0.8183 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.6951, allocations: 18.7 kB / 0.8183 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.6951, allocations: 2.406 kB / 0.8183 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.6966, allocations: 0.8262 MB / 0.8191 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.6966, allocations: 8.312 kB / 0.8191 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.6967, allocations: 45.39 kB / 0.8191 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.6971, allocations: 288.8 kB / 0.8194 GB, free: 16.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6971, allocations: 5.141 kB / 0.8194 GB, free: 16.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6971, allocations: 0 / 0.8194 GB, free: 16.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6971, allocations: 0 / 0.8194 GB, free: 16.48 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004869/0.6976, allocations: 357.4 kB / 0.8198 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6977, allocations: 9.438 kB / 0.8198 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.6979, allocations: 17.95 kB / 0.8198 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.698, allocations: 165.5 kB / 0.8199 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.698, allocations: 6.406 kB / 0.8199 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6981, allocations: 7 kB / 0.82 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.6982, allocations: 53.8 kB / 0.82 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.6982, allocations: 3.984 kB / 0.82 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6983, allocations: 4.594 kB / 0.82 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6983, allocations: 5.094 kB / 0.82 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/0.6983, allocations: 20.41 kB / 0.82 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.6985, allocations: 164.4 kB / 0.8202 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.6986, allocations: 53.59 kB / 0.8202 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.6987, allocations: 14.3 kB / 0.8203 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.7098, allocations: 3.217 MB / 0.8234 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.7098, allocations: 32.03 kB / 0.8234 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.7098, allocations: 0 / 0.8234 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03777/0.7476, allocations: 14.25 MB / 0.8373 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.7477, allocations: 54.38 kB / 0.8374 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.7478, allocations: 97.48 kB / 0.8375 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.7478, allocations: 28.52 kB / 0.8375 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.7478, allocations: 84.12 kB / 0.8376 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.7479, allocations: 39.78 kB / 0.8376 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.7479, allocations: 20.17 kB / 0.8377 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7481, allocations: 321.3 kB / 0.838 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.7481, allocations: 18.67 kB / 0.838 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.7482, allocations: 29.05 kB / 0.838 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.7483, allocations: 66.67 kB / 0.8381 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.7483, allocations: 0 / 0.8381 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002048/0.7485, allocations: 105.5 kB / 0.8382 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7485, allocations: 5.094 kB / 0.8382 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7485, allocations: 2.844 kB / 0.8382 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7486, allocations: 0 / 0.8382 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.7487, allocations: 34.42 kB / 0.8382 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7487, allocations: 0 / 0.8382 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.7487, allocations: 2.969 kB / 0.8382 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.7487, allocations: 6.438 kB / 0.8382 GB, free: 9.082 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/0.7488, allocations: 116.5 kB / 0.8383 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.7489, allocations: 3.312 kB / 0.8383 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.7492, allocations: 139.8 kB / 0.8385 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.7492, allocations: 0 / 0.8385 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.7492, allocations: 8.672 kB / 0.8385 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7492, allocations: 0 / 0.8385 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.7494, allocations: 175.3 kB / 0.8386 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7494, allocations: 0 / 0.8386 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.7495, allocations: 29.39 kB / 0.8387 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7495, allocations: 0 / 0.8387 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7495, allocations: 3.562 kB / 0.8387 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.7495, allocations: 6.906 kB / 0.8387 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7495, allocations: 0 / 0.8387 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.7498, allocations: 153.2 kB / 0.8388 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.7499, allocations: 94.72 kB / 0.8389 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7499, allocations: 0 / 0.8389 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.75, allocations: 18.83 kB / 0.8389 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.7501, allocations: 6.219 kB / 0.8389 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.7501, allocations: 2.656 kB / 0.8389 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.7501, allocations: 85.58 kB / 0.839 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7501, allocations: 0 / 0.839 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00187/0.752, allocations: 0.5619 MB / 0.8396 GB, free: 8.379 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003332/0.7554, allocations: 355.4 kB / 0.8399 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.7555, allocations: 65.92 kB / 0.84 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.7555, allocations: 4 kB / 0.84 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.7556, allocations: 41.64 kB / 0.84 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.7558, allocations: 17.17 kB / 0.84 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.7564, allocations: 433.7 kB / 0.8405 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.7566, allocations: 0.6837 MB / 0.8411 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.7567, allocations: 19.05 kB / 0.8411 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.7567, allocations: 0 / 0.8411 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of Templates: time 0.02417/0.7809, allocations: 14.34 MB / 0.8551 GB, free: 10.16 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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 OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.o] Error 1