Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001007/0.001007, allocations: 99.12 kB / 15.71 MB, free: 452 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.001311/0.00131, allocations: 179.9 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.7 MB / 0.5505 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005794/0.0005795, allocations: 15.53 kB / 0.6743 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3263, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02173/0.3482, allocations: 19.04 MB / 0.8065 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007571/0.3558, allocations: 4.611 MB / 0.811 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.3567, allocations: 19.81 kB / 0.811 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008763/0.3576, allocations: 198.7 kB / 0.8112 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.3598, allocations: 0.6525 MB / 0.8119 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.3619, allocations: 0.5875 MB / 0.8124 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.3642, allocations: 1.543 MB / 0.8139 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.3648, allocations: 343.1 kB / 0.8143 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.3659, allocations: 0.4939 MB / 0.8148 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000653/0.3665, allocations: 430.2 kB / 0.8152 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.3666, allocations: 20 kB / 0.8152 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.3679, allocations: 0.5262 MB / 0.8157 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3681, allocations: 95.52 kB / 0.8158 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3682, allocations: 125.5 kB / 0.8159 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.369, allocations: 0.565 MB / 0.8165 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.369, allocations: 0 / 0.8165 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.369, allocations: 3.938 kB / 0.8165 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.369, allocations: 0 / 0.8165 GB, free: 14.61 MB / 0.6387 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.001471/0.3705, allocations: 0.8371 MB / 0.8173 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3706, allocations: 8.031 kB / 0.8173 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.3707, allocations: 63.25 kB / 0.8173 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.3714, allocations: 442.8 kB / 0.8178 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.3715, allocations: 24.66 kB / 0.8178 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.3715, allocations: 36 kB / 0.8178 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.3722, allocations: 314 kB / 0.8181 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3723, allocations: 0 / 0.8181 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.3723, allocations: 12 kB / 0.8181 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3723, allocations: 8 kB / 0.8181 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.373, allocations: 286.4 kB / 0.8184 GB, free: 12.51 MB / 0.6387 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.002463/0.3755, allocations: 1.36 MB / 0.8197 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.376, allocations: 267 kB / 0.82 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.3763, allocations: 148.7 kB / 0.8201 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005355/0.3769, allocations: 0.4947 MB / 0.8206 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.3769, allocations: 42.59 kB / 0.8207 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.3769, allocations: 0 / 0.8207 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001673/0.3786, allocations: 0.584 MB / 0.8212 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3787, allocations: 55.41 kB / 0.8213 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.3792, allocations: 458.1 kB / 0.8217 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3793, allocations: 37.7 kB / 0.8218 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.3795, allocations: 248.4 kB / 0.822 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.3796, allocations: 82.75 kB / 0.8221 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.3796, allocations: 8 kB / 0.8221 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3798, allocations: 362.7 kB / 0.8224 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3801, allocations: 119.9 kB / 0.8225 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.3804, allocations: 192.9 kB / 0.8227 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.3808, allocations: 136.9 kB / 0.8229 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3808, allocations: 0 / 0.8229 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000968/0.3818, allocations: 441.9 kB / 0.8233 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/0.3819, allocations: 110.7 kB / 0.8234 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3819, allocations: 0 / 0.8234 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.3822, allocations: 52.75 kB / 0.8234 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.3826, allocations: 79.91 kB / 0.8235 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005218/0.3832, allocations: 0.5601 MB / 0.8241 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.3837, allocations: 67.69 kB / 0.8241 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.3837, allocations: 16 kB / 0.8241 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.3837, allocations: 4 kB / 0.8241 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006846/0.3844, allocations: 319.7 kB / 0.8244 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.3845, allocations: 0 / 0.8244 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.3845, allocations: 4 kB / 0.8245 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.3848, allocations: 91.88 kB / 0.8245 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.3848, allocations: 0 / 0.8245 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.3853, allocations: 78.72 kB / 0.8246 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.3853, allocations: 15.98 kB / 0.8246 GB, free: 5.766 MB / 0.6387 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.0003061/0.3856, allocations: 241 kB / 0.8249 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.3857, allocations: 47.44 kB / 0.8249 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3867, allocations: 439.8 kB / 0.8253 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.3867, allocations: 7.984 kB / 0.8253 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3868, allocations: 0 / 0.8253 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.3868, allocations: 3.953 kB / 0.8253 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3884, allocations: 0.9671 MB / 0.8263 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3884, allocations: 0 / 0.8263 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3886, allocations: 59.89 kB / 0.8263 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.3888, allocations: 44.78 kB / 0.8264 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.3888, allocations: 12.12 kB / 0.8264 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004099/0.3893, allocations: 0.5562 MB / 0.8269 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3893, allocations: 7.969 kB / 0.8269 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/0.3901, allocations: 0.5042 MB / 0.8274 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3903, allocations: 160.4 kB / 0.8276 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.3904, allocations: 3.984 kB / 0.8276 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.3907, allocations: 43.88 kB / 0.8276 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.3908, allocations: 27.91 kB / 0.8277 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3909, allocations: 15.98 kB / 0.8277 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003475/0.3912, allocations: 318.8 kB / 0.828 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3912, allocations: 0 / 0.828 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008244/0.3921, allocations: 247.5 kB / 0.8282 GB, free: 1.922 MB / 0.6387 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.0005988/0.3927, allocations: 248.8 kB / 0.8285 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.3939, allocations: 479.6 kB / 0.8289 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3939, allocations: 0 / 0.8289 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.3943, allocations: 184 kB / 0.8291 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.3957, allocations: 262.5 kB / 0.8293 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.3973, allocations: 1.007 MB / 0.8303 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3978, allocations: 0.8551 MB / 0.8312 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.398, allocations: 47.42 kB / 0.8312 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.398, allocations: 0 / 0.8312 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.01576/0.4137, allocations: 10.22 MB / 0.8412 GB, free: 4.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o] Error 1