Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 102.6 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.001641/0.001641, allocations: 171.7 kB / 16.58 MB, free: 6.398 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.513/1.513, allocations: 223.3 MB / 240.6 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 436.7 MB / 0.7113 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 16 kB / 0.8717 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8427, allocations: 153.6 MB / 1.022 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001765/0.8445, allocations: 1.165 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.8457, allocations: 0.722 MB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.8458, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.8458, allocations: 3.938 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.8459, allocations: 7.984 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.8464, allocations: 106.8 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.8464, allocations: 27.92 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.8465, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.8466, allocations: 15.98 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.8467, allocations: 19.92 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.8467, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.8472, allocations: 307.4 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.8472, allocations: 3.984 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.8472, allocations: 33.58 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.8475, allocations: 143.8 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8475, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8475, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.8476, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005391/0.8481, allocations: 385.2 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8481, allocations: 11.98 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.8486, allocations: 79.91 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.8487, allocations: 163 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.8488, allocations: 3.938 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.8488, allocations: 4 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.8491, allocations: 97.58 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8491, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.8491, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.8491, allocations: 7.984 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.8495, allocations: 115.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.8501, allocations: 304.9 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.8504, allocations: 110.5 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.8506, allocations: 64.88 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.8507, allocations: 4 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.8507, allocations: 38.48 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8507, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0006979/0.8514, allocations: 197.7 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.8515, allocations: 55.41 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.8516, allocations: 101.8 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.8516, allocations: 25.7 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.8516, allocations: 84.14 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.8517, allocations: 3.906 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.8517, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8518, allocations: 322.8 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.852, allocations: 55.98 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.8522, allocations: 55.95 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.8524, allocations: 63.91 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8524, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004047/0.8528, allocations: 149.6 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8528, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8528, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8528, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.853, allocations: 32.25 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.853, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.8531, allocations: 27.89 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.8531, allocations: 3.984 kB / 1.027 GB, free: 11.76 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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 7.907e-05/0.8532, allocations: 125.7 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.8533, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.8533, allocations: 11.12 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8533, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8533, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8533, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.8535, allocations: 177.5 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8535, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.8536, allocations: 35.91 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8536, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.8537, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8537, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8537, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.8541, allocations: 243.5 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.8542, allocations: 81.06 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.8542, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.8544, allocations: 28 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.8544, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.8544, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.8545, allocations: 87.27 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8545, allocations: 0 / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002543/0.8547, allocations: 15.91 kB / 1.027 GB, free: 10.88 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0001626/0.8549, allocations: 107.2 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.8553, allocations: 119.8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8553, allocations: 4.062 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.8555, allocations: 59.95 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.8558, allocations: 5.609 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.8564, allocations: 206.3 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.8567, allocations: 0.677 MB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.8568, allocations: 7.438 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.8568, allocations: 4 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of Templates: time 0.002552/0.8593, allocations: 0.8864 MB / 1.029 GB, free: 8.75 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.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_latest_Buildings.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.o] Error 1