Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_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.0008007/0.0008007, allocations: 103 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.0009064/0.0009064, allocations: 172.9 kB / 16.58 MB, free: 6.078 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.449/1.449, allocations: 223.3 MB / 240.6 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.592/2.592, allocations: 390.4 MB / 0.6662 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8966, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009028/0.8976, allocations: 363.5 kB / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.9, allocations: 1.388 MB / 0.9561 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.9, allocations: 0 / 0.9561 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.9, allocations: 0 / 0.9561 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.9002, allocations: 12.94 kB / 0.9561 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.9006, allocations: 94.11 kB / 0.9562 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.9007, allocations: 16.17 kB / 0.9562 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.033e-05/0.9008, allocations: 10.14 kB / 0.9562 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.9009, allocations: 9.75 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.9009, allocations: 26.47 kB / 0.9563 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.901, allocations: 1.062 kB / 0.9563 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.9016, allocations: 303.4 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.9016, allocations: 13.23 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.9016, allocations: 31.2 kB / 0.9566 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.9019, allocations: 129.6 kB / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.902, allocations: 0 / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/0.902, allocations: 1.219 kB / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.902, allocations: 0 / 0.9567 GB, free: 6.301 MB / 0.7169 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.0005086/0.9025, allocations: 368.8 kB / 0.9571 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.9025, allocations: 8 kB / 0.9571 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.9029, allocations: 82.28 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.9031, allocations: 176 kB / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.9031, allocations: 1.094 kB / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.9032, allocations: 2.375 kB / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.9034, allocations: 77.98 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.9034, allocations: 0.875 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.9035, allocations: 4 kB / 0.9574 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9035, allocations: 1.438 kB / 0.9574 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.9038, allocations: 97.81 kB / 0.9575 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.904, allocations: 177.8 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.9045, allocations: 144.9 kB / 0.9578 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.9047, allocations: 48.19 kB / 0.9579 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.9047, allocations: 1.094 kB / 0.9579 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.9047, allocations: 35.56 kB / 0.9579 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.9047, allocations: 0 / 0.9579 GB, free: 5.215 MB / 0.7169 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.003993/0.9087, allocations: 0.9532 MB / 0.9588 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.9088, allocations: 52.78 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.9089, allocations: 108.8 kB / 0.959 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.9089, allocations: 27.08 kB / 0.959 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.9089, allocations: 85.52 kB / 0.9591 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.909, allocations: 31.67 kB / 0.9591 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.909, allocations: 0 / 0.9591 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.9091, allocations: 320.2 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.9095, allocations: 118.2 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.9098, allocations: 123.5 kB / 0.9597 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.9102, allocations: 116.8 kB / 0.9598 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.9102, allocations: 0 / 0.9598 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008279/0.9111, allocations: 282 kB / 0.9601 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.9111, allocations: 5.219 kB / 0.9601 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9111, allocations: 0 / 0.9601 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.9111, allocations: 4.984 kB / 0.9601 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.9115, allocations: 64.72 kB / 0.9601 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.9115, allocations: 4.266 kB / 0.9601 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.9118, allocations: 46.36 kB / 0.9602 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.9118, allocations: 3 kB / 0.9602 GB, free: 3.906 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.9119, allocations: 112.8 kB / 0.9603 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.9119, allocations: 6.906 kB / 0.9603 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.912, allocations: 13.33 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.912, allocations: 4.938 kB / 0.9603 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.912, allocations: 5.188 kB / 0.9603 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.912, allocations: 3.953 kB / 0.9603 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.9137, allocations: 0.6597 MB / 0.961 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9137, allocations: 5.25 kB / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.914, allocations: 68.05 kB / 0.961 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.914, allocations: 1.188 kB / 0.961 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.914, allocations: 2.594 kB / 0.961 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.914, allocations: 6.156 kB / 0.961 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.914, allocations: 4.969 kB / 0.961 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.9149, allocations: 383.3 kB / 0.9614 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.915, allocations: 87.03 kB / 0.9615 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.915, allocations: 6.016 kB / 0.9615 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.9153, allocations: 54.52 kB / 0.9615 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.9153, allocations: 7.984 kB / 0.9616 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.9153, allocations: 3.969 kB / 0.9616 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.9154, allocations: 91.14 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9154, allocations: 1.125 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003245/0.9157, allocations: 42.69 kB / 0.9617 GB, free: 2.766 MB / 0.7169 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 (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.0002829/0.916, allocations: 131.9 kB / 0.9618 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008605/0.9169, allocations: 247.2 kB / 0.9621 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9169, allocations: 0 / 0.9621 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.9173, allocations: 134.4 kB / 0.9622 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.9176, allocations: 7.781 kB / 0.9622 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.919, allocations: 0.4929 MB / 0.9627 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.9192, allocations: 0.6863 MB / 0.9633 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.9193, allocations: 25.92 kB / 0.9634 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9193, allocations: 0 / 0.9634 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.004565/0.9239, allocations: 1.43 MB / 0.9648 GB, free: 0.7734 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularizedCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularizedCalcHelperMain.o] Error 1