Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 99.03 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.001259/0.001259, allocations: 185.4 kB / 16.92 MB, free: 6.895 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.888/1.888, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.841/1.841, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005506/0.0005506, allocations: 18.75 kB / 0.675 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3086, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008795/0.3096, allocations: 375.3 kB / 0.7889 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3116, allocations: 1.492 MB / 0.7904 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3116, allocations: 0 / 0.7904 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.3116, allocations: 0 / 0.7904 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.3117, allocations: 0 / 0.7904 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.3121, allocations: 102.9 kB / 0.7905 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.3122, allocations: 27.92 kB / 0.7905 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.3123, allocations: 4 kB / 0.7905 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.3123, allocations: 7.938 kB / 0.7905 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.3124, allocations: 27.84 kB / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.3124, allocations: 4 kB / 0.7905 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.3129, allocations: 315.3 kB / 0.7908 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3129, allocations: 0 / 0.7908 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.313, allocations: 49.5 kB / 0.7909 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3132, allocations: 140 kB / 0.791 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3132, allocations: 0 / 0.791 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3132, allocations: 0 / 0.791 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.3132, allocations: 0 / 0.791 GB, free: 9.039 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005026/0.3137, allocations: 367.4 kB / 0.7914 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3138, allocations: 12.03 kB / 0.7914 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.3142, allocations: 72.77 kB / 0.7914 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.3144, allocations: 168.4 kB / 0.7916 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3144, allocations: 8.375 kB / 0.7916 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3144, allocations: 384 / 0.7916 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.3147, allocations: 85.95 kB / 0.7917 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3147, allocations: 0 / 0.7917 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3147, allocations: 0 / 0.7917 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3148, allocations: 0 / 0.7917 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.3151, allocations: 91.84 kB / 0.7918 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.3153, allocations: 173.6 kB / 0.7919 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.3159, allocations: 150.5 kB / 0.7921 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3161, allocations: 44.95 kB / 0.7921 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3161, allocations: 4 kB / 0.7921 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3162, allocations: 46.5 kB / 0.7922 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.665e-06/0.3162, allocations: 0 / 0.7922 GB, free: 7.68 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004318/0.3205, allocations: 0.9536 MB / 0.7931 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3205, allocations: 51.41 kB / 0.7932 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3207, allocations: 113.8 kB / 0.7933 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3207, allocations: 25.7 kB / 0.7933 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.3208, allocations: 88.14 kB / 0.7934 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3209, allocations: 31.55 kB / 0.7934 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3209, allocations: 13.66 kB / 0.7934 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3211, allocations: 326.8 kB / 0.7937 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.3216, allocations: 111.8 kB / 0.7938 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.3221, allocations: 123.9 kB / 0.794 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008721/0.3229, allocations: 236.7 kB / 0.7942 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3229, allocations: 0 / 0.7942 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009525/0.3239, allocations: 285.3 kB / 0.7945 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3239, allocations: 12 kB / 0.7945 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3239, allocations: 0 / 0.7945 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.324, allocations: 0 / 0.7945 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.3243, allocations: 71.92 kB / 0.7945 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3243, allocations: 0 / 0.7945 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.3246, allocations: 47.95 kB / 0.7946 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.3246, allocations: 4 kB / 0.7946 GB, free: 5.152 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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 9.594e-05/0.3247, allocations: 118.4 kB / 0.7947 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.3247, allocations: 4 kB / 0.7947 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.3248, allocations: 12.36 kB / 0.7947 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3248, allocations: 0 / 0.7947 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3248, allocations: 4 kB / 0.7947 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3248, allocations: 4 kB / 0.7947 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.3266, allocations: 0.656 MB / 0.7954 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3266, allocations: 0 / 0.7954 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.3269, allocations: 71.94 kB / 0.7954 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3269, allocations: 0 / 0.7954 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.327, allocations: 4 kB / 0.7954 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.327, allocations: 0 / 0.7954 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.327, allocations: 8.391 kB / 0.7954 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.328, allocations: 385.1 kB / 0.7958 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.328, allocations: 89.84 kB / 0.7959 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3281, allocations: 0 / 0.7959 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3283, allocations: 47.95 kB / 0.7959 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.3284, allocations: 15.92 kB / 0.796 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.3284, allocations: 4 kB / 0.796 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.3285, allocations: 99.19 kB / 0.7961 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3285, allocations: 0 / 0.7961 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002986/0.3288, allocations: 36 kB / 0.7961 GB, free: 3.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0002313/0.329, allocations: 130 kB / 0.7962 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009533/0.33, allocations: 255.7 kB / 0.7965 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.33, allocations: 0 / 0.7965 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.3305, allocations: 132 kB / 0.7966 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3307, allocations: 10.81 kB / 0.7966 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3324, allocations: 0.5016 MB / 0.7971 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.3327, allocations: 0.6887 MB / 0.7978 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.3328, allocations: 23.42 kB / 0.7978 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3328, allocations: 0 / 0.7978 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.003417/0.3362, allocations: 1.434 MB / 0.7992 GB, free: 272 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.Utilities.Math.Functions.Examples.InverseXRegularizedCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularizedCalcHelperMain.o] Error 1