Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009735, allocations: 103 kB / 15.71 MB, free: 460 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.001078/0.001078, allocations: 176.2 kB / 16.59 MB, free: 6.402 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.525/1.525, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.169/1.169, allocations: 143.4 MB / 435.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2412, allocations: 83.41 MB / 0.5981 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.5318/0.7731, allocations: 19.02 MB / 0.6166 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006516/0.7797, allocations: 4.644 MB / 0.6212 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006273/0.7803, allocations: 13.56 kB / 0.6212 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.781, allocations: 191.7 kB / 0.6214 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.7827, allocations: 0.6523 MB / 0.622 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.7844, allocations: 0.6021 MB / 0.6226 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.7858, allocations: 1.548 MB / 0.6241 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004576/0.7863, allocations: 346.6 kB / 0.6244 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007148/0.787, allocations: 498.4 kB / 0.6249 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.7875, allocations: 430.3 kB / 0.6253 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.7876, allocations: 20.53 kB / 0.6253 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009356/0.7885, allocations: 0.5276 MB / 0.6258 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.7886, allocations: 97.03 kB / 0.6259 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.7888, allocations: 128 kB / 0.6261 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.7894, allocations: 0.582 MB / 0.6266 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.7894, allocations: 0 / 0.6266 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.487e-06/0.7894, allocations: 0 / 0.6266 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.7894, allocations: 7.938 kB / 0.6266 GB, free: 29.35 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001363/0.7908, allocations: 0.8329 MB / 0.6275 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7908, allocations: 9.25 kB / 0.6275 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.7909, allocations: 65.06 kB / 0.6275 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.7915, allocations: 429.9 kB / 0.6279 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.7915, allocations: 27.38 kB / 0.628 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.7916, allocations: 35.34 kB / 0.628 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/0.7922, allocations: 322 kB / 0.6283 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7922, allocations: 0 / 0.6283 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.7922, allocations: 14.8 kB / 0.6283 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.7923, allocations: 5.906 kB / 0.6283 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.7928, allocations: 286.2 kB / 0.6286 GB, free: 28.14 MB / 0.4981 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.001802/0.7946, allocations: 1.36 MB / 0.6299 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.7951, allocations: 262.8 kB / 0.6302 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.7954, allocations: 142.6 kB / 0.6303 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/0.7957, allocations: 0.5009 MB / 0.6308 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.7958, allocations: 37.64 kB / 0.6308 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 3.025e-06/0.7958, allocations: 96 / 0.6308 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001496/0.7973, allocations: 0.5879 MB / 0.6314 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.7973, allocations: 69.44 kB / 0.6315 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.7978, allocations: 454.1 kB / 0.6319 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.7978, allocations: 37.02 kB / 0.6319 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.798, allocations: 243 kB / 0.6322 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.798, allocations: 87.14 kB / 0.6323 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.7981, allocations: 4 kB / 0.6323 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7982, allocations: 357.6 kB / 0.6326 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.7985, allocations: 125.5 kB / 0.6327 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.7988, allocations: 193.5 kB / 0.6329 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.7991, allocations: 145 kB / 0.633 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7991, allocations: 4 kB / 0.633 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009071/0.8001, allocations: 435.6 kB / 0.6335 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.8001, allocations: 101.5 kB / 0.6336 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8001, allocations: 0 / 0.6336 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.8005, allocations: 58.91 kB / 0.6336 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.8008, allocations: 69.42 kB / 0.6337 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003422/0.8012, allocations: 0.5651 MB / 0.6342 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.8016, allocations: 72.41 kB / 0.6343 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.8017, allocations: 17.42 kB / 0.6343 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.8017, allocations: 2.969 kB / 0.6343 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006505/0.8023, allocations: 317.4 kB / 0.6346 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-06/0.8023, allocations: 3.531 kB / 0.6346 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.8023, allocations: 4.141 kB / 0.6346 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.8027, allocations: 89.97 kB / 0.6347 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.8027, allocations: 0 / 0.6347 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.8031, allocations: 71.81 kB / 0.6348 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.8031, allocations: 12.84 kB / 0.6348 GB, free: 24.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002306/0.8033, allocations: 248.6 kB / 0.635 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.8034, allocations: 49.73 kB / 0.6351 GB, free: 23.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008458/0.8043, allocations: 442.5 kB / 0.6355 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.8043, allocations: 3.406 kB / 0.6355 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8043, allocations: 0 / 0.6355 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.8043, allocations: 3.234 kB / 0.6355 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.8056, allocations: 0.9712 MB / 0.6365 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.8056, allocations: 0 / 0.6365 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.8058, allocations: 56.91 kB / 0.6365 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.806, allocations: 50.88 kB / 0.6366 GB, free: 23.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.806, allocations: 7.719 kB / 0.6366 GB, free: 23.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002545/0.8063, allocations: 0.5574 MB / 0.6371 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8063, allocations: 6.875 kB / 0.6371 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.807, allocations: 0.4991 MB / 0.6376 GB, free: 22.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.8071, allocations: 164.6 kB / 0.6378 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.8072, allocations: 7.719 kB / 0.6378 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.8075, allocations: 41.52 kB / 0.6378 GB, free: 22.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.8076, allocations: 27.66 kB / 0.6378 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.8076, allocations: 11.94 kB / 0.6378 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003054/0.808, allocations: 321.8 kB / 0.6382 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.808, allocations: 0 / 0.6382 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007545/0.8087, allocations: 257.2 kB / 0.6384 GB, free: 21.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005466/0.8093, allocations: 252 kB / 0.6386 GB, free: 21.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.8103, allocations: 491.4 kB / 0.6391 GB, free: 21.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8104, allocations: 0 / 0.6391 GB, free: 21.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.8107, allocations: 178 kB / 0.6393 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.812, allocations: 260.5 kB / 0.6395 GB, free: 21.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.8133, allocations: 1.01 MB / 0.6405 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.8136, allocations: 0.8537 MB / 0.6413 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.8137, allocations: 48.05 kB / 0.6414 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.8137, allocations: 0 / 0.6414 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.01644/0.8302, allocations: 10.33 MB / 0.6515 GB, free: 19.07 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o] Error 1