Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009169/0.009169, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 196.9 kB / 16.79 MB, free: 6.254 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.494/1.494, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003238/0.003238, allocations: 282.2 kB / 290.9 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 169.2 MB / 0.4983 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 89.62 kB / 0.5951 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2386, allocations: 86.99 MB / 0.6801 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6326/0.8713, allocations: 171.8 MB / 0.8479 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.8816, allocations: 9.524 MB / 0.8572 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.882, allocations: 8.562 kB / 0.8572 GB, free: 7.684 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.8828, allocations: 154.6 kB / 0.8574 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.883, allocations: 83.06 kB / 0.8574 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.8832, allocations: 54.42 kB / 0.8575 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.8836, allocations: 378.8 kB / 0.8578 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.884, allocations: 202.8 kB / 0.858 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.8843, allocations: 151.5 kB / 0.8582 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.8844, allocations: 129.4 kB / 0.8583 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.8845, allocations: 15.28 kB / 0.8583 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.8845, allocations: 19.72 kB / 0.8583 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.8846, allocations: 68.55 kB / 0.8584 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.8847, allocations: 125.5 kB / 0.8585 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.8849, allocations: 210.9 kB / 0.8587 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8849, allocations: 0 / 0.8587 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.01e-07/0.8849, allocations: 0 / 0.8587 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.885, allocations: 0 / 0.8587 GB, free: 6.668 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005641/0.8855, allocations: 0.5091 MB / 0.8592 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8856, allocations: 8 kB / 0.8592 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.8856, allocations: 35.66 kB / 0.8593 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.8859, allocations: 271.1 kB / 0.8595 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.886, allocations: 19 kB / 0.8595 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.886, allocations: 26.25 kB / 0.8596 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.8865, allocations: 334.2 kB / 0.8599 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.8865, allocations: 3.938 kB / 0.8599 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.8866, allocations: 13.62 kB / 0.8599 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.8866, allocations: 5.156 kB / 0.8599 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.8869, allocations: 143.2 kB / 0.86 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.8882, allocations: 1.814 MB / 0.8618 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.8884, allocations: 169.1 kB / 0.862 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.8884, allocations: 80.14 kB / 0.8621 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.8885, allocations: 75.28 kB / 0.8621 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.8885, allocations: 115.8 kB / 0.8622 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8885, allocations: 0 / 0.8622 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.195e-05/0.8886, allocations: 54.45 kB / 0.8623 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.8887, allocations: 134.7 kB / 0.8624 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.8891, allocations: 372.1 kB / 0.8628 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.8891, allocations: 25.7 kB / 0.8628 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.8892, allocations: 167.5 kB / 0.863 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.8892, allocations: 4 kB / 0.863 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.8893, allocations: 14.75 kB / 0.863 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8894, allocations: 339.6 kB / 0.8633 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.8894, allocations: 9.266 kB / 0.8633 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.8895, allocations: 36.64 kB / 0.8633 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.8895, allocations: 44.02 kB / 0.8634 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8895, allocations: 0 / 0.8634 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001451/0.8897, allocations: 90.44 kB / 0.8635 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8897, allocations: 4.312 kB / 0.8635 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.8897, allocations: 3.172 kB / 0.8635 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8897, allocations: 7.922 kB / 0.8635 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.8898, allocations: 11.66 kB / 0.8635 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8898, allocations: 6.938 kB / 0.8635 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.8899, allocations: 27.5 kB / 0.8635 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.8899, allocations: 2.656 kB / 0.8635 GB, free: 2.152 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.0001384/0.89, allocations: 213.2 kB / 0.8637 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.8901, allocations: 145.1 kB / 0.8639 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.724e-05/0.8902, allocations: 125.2 kB / 0.864 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-05/0.8903, allocations: 187 kB / 0.8642 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.601e-05/0.8904, allocations: 180.2 kB / 0.8643 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-05/0.8904, allocations: 180.3 kB / 0.8645 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.8908, allocations: 492.1 kB / 0.865 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.212e-05/0.8908, allocations: 101 kB / 0.8651 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.8909, allocations: 111.2 kB / 0.8652 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.919e-05/0.8909, allocations: 188.2 kB / 0.8654 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.891, allocations: 178.8 kB / 0.8655 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.993e-05/0.8911, allocations: 180.2 kB / 0.8657 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.572e-05/0.8912, allocations: 176.3 kB / 0.8659 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.8913, allocations: 337.1 kB / 0.8662 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.8915, allocations: 208.6 kB / 0.8664 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.8916, allocations: 183.2 kB / 0.8666 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.8917, allocations: 101 kB / 0.8667 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.8918, allocations: 188.2 kB / 0.8668 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.8918, allocations: 103.8 kB / 0.8669 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002474/0.8921, allocations: 270.4 kB / 0.8672 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8921, allocations: 0 / 0.8672 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002454/0.8923, allocations: 31.19 kB / 0.8672 GB, free: 14.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001304/0.8925, allocations: 177.3 kB / 0.8674 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.8925, allocations: 11.31 kB / 0.8674 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8925, allocations: 3.938 kB / 0.8674 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.8926, allocations: 3.031 kB / 0.8674 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.8934, allocations: 0.6181 MB / 0.868 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.8941, allocations: 0.5233 MB / 0.8685 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.8944, allocations: 0.7495 MB / 0.8693 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.8944, allocations: 20.06 kB / 0.8693 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8944, allocations: 0 / 0.8693 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.004999/0.8995, allocations: 3.117 MB / 0.8723 GB, free: 10.87 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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 OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2CalcHelperMain.o] Error 1