Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008246, 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.0009857/0.0009857, allocations: 171.8 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.52/1.52, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.034/1.034, allocations: 143.4 MB / 435.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004557, allocations: 15.98 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 83.41 MB / 0.5981 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009488/0.2306, allocations: 323 kB / 0.5984 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.2329, allocations: 1.389 MB / 0.5997 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.2329, allocations: 8 kB / 0.5997 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.233, allocations: 0 / 0.5997 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.328e-05/0.233, allocations: 0 / 0.5997 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.2336, allocations: 103.7 kB / 0.5998 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.2337, allocations: 27.97 kB / 0.5999 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.2338, allocations: 0 / 0.5999 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.2338, allocations: 23.91 kB / 0.5999 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.2339, allocations: 23.97 kB / 0.5999 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.234, allocations: 3.938 kB / 0.5999 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.2345, allocations: 307.4 kB / 0.6002 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2345, allocations: 7.922 kB / 0.6002 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.2345, allocations: 29.7 kB / 0.6003 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.2348, allocations: 127.9 kB / 0.6004 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2348, allocations: 0 / 0.6004 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2348, allocations: 0 / 0.6004 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2348, allocations: 4 kB / 0.6004 GB, free: 5.434 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005545/0.2354, allocations: 359.6 kB / 0.6007 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2354, allocations: 8.031 kB / 0.6007 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/0.2359, allocations: 83.81 kB / 0.6008 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2361, allocations: 167 kB / 0.601 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.2361, allocations: 8 kB / 0.601 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2361, allocations: 4 kB / 0.601 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.2364, allocations: 81.56 kB / 0.6011 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2364, allocations: 4 kB / 0.6011 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2364, allocations: 4 kB / 0.6011 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2365, allocations: 0 / 0.6011 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.2368, allocations: 79.92 kB / 0.6011 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.237, allocations: 165.6 kB / 0.6013 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.2376, allocations: 142.6 kB / 0.6014 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.2378, allocations: 52.91 kB / 0.6015 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.2382, allocations: 173 kB / 0.6016 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2383, allocations: 34.5 kB / 0.6017 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.966e-06/0.2383, allocations: 0 / 0.6017 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001221/0.2395, allocations: 442.1 kB / 0.6021 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.2396, allocations: 55.41 kB / 0.6022 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.2397, allocations: 93.84 kB / 0.6022 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2397, allocations: 29.7 kB / 0.6023 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.2397, allocations: 88.2 kB / 0.6024 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2398, allocations: 15.75 kB / 0.6024 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.2398, allocations: 0 / 0.6024 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2399, allocations: 318.8 kB / 0.6027 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.2401, allocations: 43.95 kB / 0.6027 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2402, allocations: 39.97 kB / 0.6028 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2404, allocations: 43.97 kB / 0.6028 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2404, allocations: 0 / 0.6028 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003304/0.2407, allocations: 129.5 kB / 0.6029 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2408, allocations: 7.984 kB / 0.6029 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2408, allocations: 0 / 0.6029 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2408, allocations: 8 kB / 0.6029 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.241, allocations: 19.98 kB / 0.603 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.241, allocations: 0 / 0.603 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.2411, allocations: 15.98 kB / 0.603 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2411, allocations: 8 kB / 0.603 GB, free: 2.484 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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 9.36e-05/0.2412, allocations: 117.8 kB / 0.6031 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.2412, allocations: 4.328 kB / 0.6031 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.2417, allocations: 149.1 kB / 0.6032 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2417, allocations: 3.984 kB / 0.6032 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2417, allocations: 0 / 0.6032 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2417, allocations: 0 / 0.6032 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2419, allocations: 169.9 kB / 0.6034 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2419, allocations: 0 / 0.6034 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.242, allocations: 31.98 kB / 0.6034 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2421, allocations: 0 / 0.6034 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2421, allocations: 4 kB / 0.6034 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2421, allocations: 0 / 0.6034 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2421, allocations: 0 / 0.6034 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.2427, allocations: 216.9 kB / 0.6036 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.2428, allocations: 92.97 kB / 0.6037 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2428, allocations: 0 / 0.6037 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2429, allocations: 24.05 kB / 0.6038 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.2429, allocations: 3.984 kB / 0.6038 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.243, allocations: 4 kB / 0.6038 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.243, allocations: 75.28 kB / 0.6038 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.243, allocations: 4 kB / 0.6038 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002374/0.2433, allocations: 31.94 kB / 0.6039 GB, free: 1.473 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.000257/0.2435, allocations: 131.2 kB / 0.604 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.2439, allocations: 96.03 kB / 0.6041 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2439, allocations: 0 / 0.6041 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.2441, allocations: 51.89 kB / 0.6041 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.2442, allocations: 15.95 kB / 0.6042 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.2449, allocations: 222.6 kB / 0.6044 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2452, allocations: 0.677 MB / 0.605 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.2453, allocations: 15.42 kB / 0.605 GB, free: 208 kB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2453, allocations: 0 / 0.605 GB, free: 208 kB / 0.4981 GB Notification: Performance of Templates: time 0.309/0.5543, allocations: 1.129 MB / 0.6061 GB, free: 40.43 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o] Error 1