Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 92.16 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.001006/0.001006, allocations: 172.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.389/1.389, 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.002061/0.002061, allocations: 267.1 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005218/0.0005219, allocations: 14.62 kB / 0.5993 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1894, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6628/0.8522, allocations: 243.4 MB / 0.9234 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.8765, allocations: 22 MB / 0.9449 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.8783, allocations: 43.69 kB / 0.945 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.8806, allocations: 0.7885 MB / 0.9457 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.8843, allocations: 1.381 MB / 0.9471 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.8886, allocations: 1.783 MB / 0.9488 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003934/0.8926, allocations: 3.528 MB / 0.9523 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.894, allocations: 1.089 MB / 0.9533 GB, free: 13.03 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.8963, allocations: 1.12 MB / 0.9544 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.8974, allocations: 0.8557 MB / 0.9553 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.8975, allocations: 36 kB / 0.9553 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.901, allocations: 1.878 MB / 0.9571 GB, free: 9.129 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003252/0.9013, allocations: 279 kB / 0.9574 GB, free: 8.855 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006238/0.9019, allocations: 0.5613 MB / 0.9579 GB, free: 8.285 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.904, allocations: 1.691 MB / 0.9596 GB, free: 6.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.904, allocations: 0 / 0.9596 GB, free: 6.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.813e-06/0.904, allocations: 0 / 0.9596 GB, free: 6.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.904, allocations: 0 / 0.9596 GB, free: 6.59 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001685/0.9057, allocations: 1.241 MB / 0.9608 GB, free: 5.297 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.9058, allocations: 8.031 kB / 0.9608 GB, free: 5.289 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.9068, allocations: 222.4 kB / 0.961 GB, free: 5.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.9079, allocations: 0.8609 MB / 0.9619 GB, free: 4.168 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.9081, allocations: 176.8 kB / 0.962 GB, free: 3.969 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.9082, allocations: 96 kB / 0.9621 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.9097, allocations: 0.9323 MB / 0.963 GB, free: 2.91 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.9097, allocations: 4 kB / 0.963 GB, free: 2.906 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.9098, allocations: 36 kB / 0.9631 GB, free: 2.871 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.9098, allocations: 20 kB / 0.9631 GB, free: 2.852 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.9109, allocations: 0.6285 MB / 0.9637 GB, free: 2.219 MB / 0.67 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.004287/0.9152, allocations: 4.447 MB / 0.968 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.9155, allocations: 190.7 kB / 0.9682 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.9158, allocations: 148.8 kB / 0.9684 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.9168, allocations: 1.021 MB / 0.9694 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.9168, allocations: 38.5 kB / 0.9694 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.824e-06/0.9169, allocations: 0 / 0.9694 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.0009854/0.9178, allocations: 472 kB / 0.9699 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.9179, allocations: 51.41 kB / 0.9699 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.9193, allocations: 1.11 MB / 0.971 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.9193, allocations: 33.7 kB / 0.971 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.9198, allocations: 0.5079 MB / 0.9715 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.9198, allocations: 90.73 kB / 0.9716 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.9199, allocations: 37.7 kB / 0.9716 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.92, allocations: 318 kB / 0.9719 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.9203, allocations: 128.8 kB / 0.9721 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.9207, allocations: 387.1 kB / 0.9724 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.9212, allocations: 471.5 kB / 0.9729 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9213, allocations: 4 kB / 0.9729 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008174/0.9221, allocations: 0.5349 MB / 0.9734 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9221, allocations: 8 kB / 0.9734 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.9221, allocations: 8.625 kB / 0.9734 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9222, allocations: 8 kB / 0.9734 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.9225, allocations: 95.83 kB / 0.9735 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.9225, allocations: 19.94 kB / 0.9735 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.9233, allocations: 126.9 kB / 0.9737 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.9233, allocations: 20 kB / 0.9737 GB, free: 7.102 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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 0.0003648/0.9237, allocations: 290.9 kB / 0.974 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.9238, allocations: 102.8 kB / 0.9741 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.9245, allocations: 430.2 kB / 0.9745 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.9245, allocations: 0 / 0.9745 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9245, allocations: 0 / 0.9745 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.9246, allocations: 4.281 kB / 0.9745 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.9265, allocations: 1.55 MB / 0.976 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.9266, allocations: 4.562 kB / 0.976 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.9267, allocations: 43.92 kB / 0.976 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.9267, allocations: 15.92 kB / 0.976 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.9268, allocations: 8 kB / 0.9761 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.9268, allocations: 4 kB / 0.9761 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.9268, allocations: 11.94 kB / 0.9761 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.9274, allocations: 0.575 MB / 0.9766 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.9277, allocations: 255.5 kB / 0.9769 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.9278, allocations: 8 kB / 0.9769 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.9282, allocations: 31.88 kB / 0.9769 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.9283, allocations: 31.86 kB / 0.9769 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.9283, allocations: 19.98 kB / 0.977 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009503/0.9293, allocations: 0.7783 MB / 0.9777 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9293, allocations: 3.938 kB / 0.9777 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008183/0.9301, allocations: 287.5 kB / 0.978 GB, free: 2.457 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000599/0.9307, allocations: 327.3 kB / 0.9783 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.9313, allocations: 329.1 kB / 0.9786 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9313, allocations: 8.125 kB / 0.9786 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.9315, allocations: 143.7 kB / 0.9788 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.9343, allocations: 0.5179 MB / 0.9793 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.9367, allocations: 1.965 MB / 0.9812 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.9373, allocations: 1.071 MB / 0.9822 GB, free: 14 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.9376, allocations: 79.42 kB / 0.9823 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/0.9376, allocations: 3.938 kB / 0.9823 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of Templates: time 0.0245/0.9621, allocations: 16.95 MB / 0.9989 GB, free: 13.12 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversalCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversalCalcHelperMain.o] Error 1