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.000975/0.000975, allocations: 98.88 kB / 16.02 MB, free: 76 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.001517/0.001517, allocations: 187.7 kB / 16.92 MB, free: 6.773 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.78/1.78, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.897/1.897, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005901/0.0005902, allocations: 15.72 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3268, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02137/0.3483, allocations: 20.07 MB / 0.8081 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007415/0.3557, allocations: 4.897 MB / 0.8129 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/0.3565, allocations: 15.88 kB / 0.8129 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007897/0.3573, allocations: 226.6 kB / 0.8131 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.3595, allocations: 0.7495 MB / 0.8139 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.3613, allocations: 0.6393 MB / 0.8145 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.3635, allocations: 1.809 MB / 0.8163 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.3641, allocations: 376.2 kB / 0.8166 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.3651, allocations: 0.5173 MB / 0.8171 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.3657, allocations: 458 kB / 0.8176 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.3658, allocations: 20 kB / 0.8176 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.3671, allocations: 0.5925 MB / 0.8182 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3673, allocations: 107.5 kB / 0.8183 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.3676, allocations: 292.1 kB / 0.8185 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.3683, allocations: 0.5807 MB / 0.8191 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3683, allocations: 0 / 0.8191 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3683, allocations: 0 / 0.8191 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3684, allocations: 0 / 0.8191 GB, free: 12.13 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.001509/0.3699, allocations: 0.8332 MB / 0.8199 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3699, allocations: 8.031 kB / 0.8199 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.37, allocations: 68.19 kB / 0.82 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.3707, allocations: 455.1 kB / 0.8204 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.3707, allocations: 28.66 kB / 0.8205 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.3708, allocations: 32 kB / 0.8205 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/0.3714, allocations: 318 kB / 0.8208 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3715, allocations: 4 kB / 0.8208 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.3715, allocations: 12 kB / 0.8208 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3715, allocations: 11.98 kB / 0.8208 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.3722, allocations: 282.4 kB / 0.8211 GB, free: 10 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.002213/0.3744, allocations: 1.356 MB / 0.8224 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.3749, allocations: 266.5 kB / 0.8227 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.3753, allocations: 144.8 kB / 0.8228 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005069/0.3758, allocations: 0.4986 MB / 0.8233 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3758, allocations: 34.78 kB / 0.8233 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 4.618e-06/0.3758, allocations: 96 / 0.8233 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.00177/0.3776, allocations: 0.5951 MB / 0.8239 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3777, allocations: 55.41 kB / 0.824 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.3782, allocations: 474.1 kB / 0.8244 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.3782, allocations: 29.7 kB / 0.8244 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3784, allocations: 252.4 kB / 0.8247 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.3785, allocations: 78.77 kB / 0.8248 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.3786, allocations: 37.69 kB / 0.8248 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3787, allocations: 354.8 kB / 0.8251 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.3791, allocations: 131.9 kB / 0.8253 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.3794, allocations: 200.7 kB / 0.8254 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.3801, allocations: 282.5 kB / 0.8257 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3801, allocations: 0 / 0.8257 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001527/0.3816, allocations: 0.5162 MB / 0.8262 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.3817, allocations: 110.8 kB / 0.8263 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3817, allocations: 0 / 0.8263 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.3821, allocations: 52.81 kB / 0.8264 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.3824, allocations: 75.89 kB / 0.8264 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004472/0.3829, allocations: 0.5562 MB / 0.827 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.3835, allocations: 79.56 kB / 0.8271 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3836, allocations: 12 kB / 0.8271 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.3836, allocations: 4 kB / 0.8271 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000782/0.3844, allocations: 319.7 kB / 0.8274 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3844, allocations: 0 / 0.8274 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.3844, allocations: 7.938 kB / 0.8274 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.3848, allocations: 83.94 kB / 0.8275 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3848, allocations: 7.938 kB / 0.8275 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.3853, allocations: 70.48 kB / 0.8275 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.3853, allocations: 11.98 kB / 0.8276 GB, free: 2.973 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 (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 prepare postOptimizeDAE: time 0.0002658/0.3856, allocations: 248.9 kB / 0.8278 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.3857, allocations: 51.34 kB / 0.8278 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/0.3866, allocations: 436.1 kB / 0.8283 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3867, allocations: 4 kB / 0.8283 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3867, allocations: 4 kB / 0.8283 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3867, allocations: 7.922 kB / 0.8283 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.3883, allocations: 0.967 MB / 0.8292 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.3883, allocations: 3.938 kB / 0.8292 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.3885, allocations: 51.97 kB / 0.8293 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.3887, allocations: 49.03 kB / 0.8293 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.3888, allocations: 15.97 kB / 0.8293 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004022/0.3892, allocations: 0.5523 MB / 0.8299 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3892, allocations: 4.031 kB / 0.8299 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008728/0.3901, allocations: 0.512 MB / 0.8304 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.3903, allocations: 160.3 kB / 0.8305 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.3903, allocations: 8 kB / 0.8305 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.3907, allocations: 43.95 kB / 0.8306 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.3908, allocations: 15.97 kB / 0.8306 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.3908, allocations: 19.92 kB / 0.8306 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003964/0.3912, allocations: 322.9 kB / 0.8309 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3912, allocations: 0 / 0.8309 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008137/0.392, allocations: 251.5 kB / 0.8312 GB, free: 15.11 MB / 0.6544 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 (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.0006177/0.3927, allocations: 267.3 kB / 0.8314 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.3939, allocations: 490.7 kB / 0.8319 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3939, allocations: 0 / 0.8319 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.3944, allocations: 184 kB / 0.8321 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.3959, allocations: 254.5 kB / 0.8323 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.3977, allocations: 1.047 MB / 0.8333 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.3982, allocations: 0.8513 MB / 0.8342 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3983, allocations: 51.36 kB / 0.8342 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.3983, allocations: 0 / 0.8342 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.01426/0.4126, allocations: 10.19 MB / 0.8442 GB, free: 1.816 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++ -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 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