Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 102.5 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.001398/0.001398, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.879/1.879, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.93/1.93, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.000578/0.000578, allocations: 20.28 kB / 0.6743 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3355, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.9494/1.285, allocations: 146.7 MB / 0.9311 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00319/1.288, allocations: 1.588 MB / 0.9327 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/1.289, allocations: 10.41 kB / 0.9327 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005314/1.289, allocations: 108.1 kB / 0.9328 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/1.29, allocations: 377.5 kB / 0.9332 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/1.292, allocations: 368.5 kB / 0.9335 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008659/1.293, allocations: 0.6473 MB / 0.9341 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/1.293, allocations: 136 kB / 0.9343 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/1.293, allocations: 266.2 kB / 0.9345 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/1.294, allocations: 153.8 kB / 0.9347 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/1.294, allocations: 5.875 kB / 0.9347 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/1.295, allocations: 0.5211 MB / 0.9352 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/1.295, allocations: 70.92 kB / 0.9353 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/1.295, allocations: 70.92 kB / 0.9353 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000509/1.296, allocations: 331.2 kB / 0.9356 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.296, allocations: 0.75 kB / 0.9356 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.874e-06/1.296, allocations: 0 / 0.9356 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.296, allocations: 2.625 kB / 0.9356 GB, free: 21.46 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007811/1.297, allocations: 0.5511 MB / 0.9362 GB, free: 21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.297, allocations: 8.344 kB / 0.9362 GB, free: 21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/1.297, allocations: 52.88 kB / 0.9362 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/1.297, allocations: 278.5 kB / 0.9365 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/1.297, allocations: 11.69 kB / 0.9365 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/1.297, allocations: 15.47 kB / 0.9365 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/1.298, allocations: 193.6 kB / 0.9367 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.298, allocations: 3.125 kB / 0.9367 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/1.298, allocations: 6.25 kB / 0.9367 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.298, allocations: 2.906 kB / 0.9367 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/1.298, allocations: 146.9 kB / 0.9369 GB, free: 20.7 MB / 0.7325 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.001009/1.299, allocations: 0.7874 MB / 0.9376 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/1.3, allocations: 89.53 kB / 0.9377 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/1.3, allocations: 82.67 kB / 0.9378 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/1.3, allocations: 191.7 kB / 0.938 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/1.3, allocations: 37.31 kB / 0.938 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/1.3, allocations: 0 / 0.938 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006209/1.301, allocations: 234.6 kB / 0.9382 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.301, allocations: 51.41 kB / 0.9383 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/1.301, allocations: 265.7 kB / 0.9385 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/1.301, allocations: 31.73 kB / 0.9386 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/1.301, allocations: 146.2 kB / 0.9387 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/1.301, allocations: 33.41 kB / 0.9387 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/1.301, allocations: 0 / 0.9387 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.301, allocations: 338.5 kB / 0.9391 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.301, allocations: 49.05 kB / 0.9391 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/1.302, allocations: 96.61 kB / 0.9392 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.302, allocations: 51.44 kB / 0.9393 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.302, allocations: 0 / 0.9393 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003129/1.302, allocations: 170 kB / 0.9394 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/1.302, allocations: 114.3 kB / 0.9395 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.302, allocations: 1.656 kB / 0.9395 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.302, allocations: 5.344 kB / 0.9395 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.302, allocations: 29.16 kB / 0.9396 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.302, allocations: 0 / 0.9396 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/1.302, allocations: 24.25 kB / 0.9396 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/1.303, allocations: 11.2 kB / 0.9396 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.303, allocations: 3.969 kB / 0.9396 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002712/1.303, allocations: 120.2 kB / 0.9397 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/1.303, allocations: 1.438 kB / 0.9397 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/1.303, allocations: 1.438 kB / 0.9397 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.303, allocations: 29.03 kB / 0.9397 GB, free: 19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.303, allocations: 5.75 kB / 0.9398 GB, free: 19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/1.303, allocations: 30.53 kB / 0.9398 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/1.303, allocations: 3.969 kB / 0.9398 GB, free: 18.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/1.303, allocations: 216.5 kB / 0.94 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/1.303, allocations: 26.61 kB / 0.94 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/1.304, allocations: 176.1 kB / 0.9402 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.304, allocations: 0.75 kB / 0.9402 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.304, allocations: 3.812 kB / 0.9402 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.304, allocations: 3.984 kB / 0.9402 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009248/1.305, allocations: 0.6055 MB / 0.9408 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.305, allocations: 1.719 kB / 0.9408 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.305, allocations: 31 kB / 0.9408 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.305, allocations: 2.844 kB / 0.9408 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.305, allocations: 6.5 kB / 0.9408 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.305, allocations: 3.094 kB / 0.9408 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.305, allocations: 1.531 kB / 0.9408 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/1.305, allocations: 305.2 kB / 0.9411 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.305, allocations: 115.8 kB / 0.9412 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/1.306, allocations: 2.781 kB / 0.9412 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/1.306, allocations: 17.92 kB / 0.9413 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/1.306, allocations: 22.08 kB / 0.9413 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/1.306, allocations: 4.656 kB / 0.9413 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002345/1.306, allocations: 191.5 kB / 0.9415 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.306, allocations: 0.7188 kB / 0.9415 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005303/1.307, allocations: 95.06 kB / 0.9416 GB, free: 17.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004029/1.307, allocations: 174.6 kB / 0.9417 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004859/1.307, allocations: 174.5 kB / 0.9419 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.308, allocations: 1 kB / 0.9419 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/1.308, allocations: 74.66 kB / 0.942 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/1.308, allocations: 126.1 kB / 0.9421 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/1.309, allocations: 0.5265 MB / 0.9426 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/1.31, allocations: 0.7573 MB / 0.9433 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/1.31, allocations: 22.53 kB / 0.9434 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/1.31, allocations: 0 / 0.9434 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.008329/1.318, allocations: 3.724 MB / 0.947 GB, free: 16.47 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDropCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDropCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDropCalcHelperMain.o] Error 1