Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009714, allocations: 90.39 kB / 16.33 MB, free: 6.336 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.001179/0.001179, allocations: 188 kB / 17.23 MB, free: 6.242 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.544/1.544, allocations: 223.3 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7118/0.7118, allocations: 114.4 MB / 406.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 16.91 kB / 494.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.243, allocations: 77.26 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001451/0.2445, allocations: 490.3 kB / 0.5588 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.2474, allocations: 1.412 MB / 0.5602 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.2475, allocations: 0 / 0.5602 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.2475, allocations: 0 / 0.5602 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.2476, allocations: 3.938 kB / 0.5602 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.2482, allocations: 115.7 kB / 0.5603 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2484, allocations: 39.97 kB / 0.5603 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.2484, allocations: 7.938 kB / 0.5603 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.2485, allocations: 15.98 kB / 0.5604 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.2486, allocations: 35.83 kB / 0.5604 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2486, allocations: 4 kB / 0.5604 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.2493, allocations: 303.4 kB / 0.5607 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.2493, allocations: 23.91 kB / 0.5607 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.2494, allocations: 33.64 kB / 0.5607 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.2497, allocations: 147.8 kB / 0.5609 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2497, allocations: 4 kB / 0.5609 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.2497, allocations: 0 / 0.5609 GB, free: 8.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2498, allocations: 3.938 kB / 0.5609 GB, free: 8.328 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008707/0.2506, allocations: 391.5 kB / 0.5613 GB, free: 7.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2507, allocations: 12.03 kB / 0.5613 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007318/0.2514, allocations: 79.83 kB / 0.5613 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2516, allocations: 167 kB / 0.5615 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.2517, allocations: 8 kB / 0.5615 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.2517, allocations: 4 kB / 0.5615 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.2522, allocations: 128.3 kB / 0.5616 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2522, allocations: 3.953 kB / 0.5616 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.2522, allocations: 0 / 0.5616 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2522, allocations: 4 kB / 0.5616 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.2529, allocations: 123.9 kB / 0.5618 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.2537, allocations: 336.6 kB / 0.5621 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.2546, allocations: 186.4 kB / 0.5623 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.2549, allocations: 64.97 kB / 0.5623 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2549, allocations: 3.984 kB / 0.5623 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.255, allocations: 42.55 kB / 0.5624 GB, free: 6.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.255, allocations: 0 / 0.5624 GB, free: 6.645 MB / 430.1 MB 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=11): time 0.02267/0.2777, allocations: 3.176 MB / 0.5655 GB, free: 3.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.2778, allocations: 51.41 kB / 0.5655 GB, free: 3.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2779, allocations: 109.8 kB / 0.5656 GB, free: 3.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.278, allocations: 29.7 kB / 0.5657 GB, free: 3.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.2781, allocations: 87.98 kB / 0.5657 GB, free: 3.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.848e-05/0.2782, allocations: 39.45 kB / 0.5658 GB, free: 3.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.2782, allocations: 4 kB / 0.5658 GB, free: 3.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2784, allocations: 318.8 kB / 0.5661 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.2793, allocations: 219.9 kB / 0.5663 GB, free: 2.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.2803, allocations: 219.8 kB / 0.5665 GB, free: 2.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.2813, allocations: 215.8 kB / 0.5667 GB, free: 2.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2813, allocations: 0 / 0.5667 GB, free: 2.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002145/0.2835, allocations: 0.5167 MB / 0.5672 GB, free: 1.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2835, allocations: 4 kB / 0.5672 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2835, allocations: 96 / 0.5672 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.2836, allocations: 3.938 kB / 0.5672 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.2846, allocations: 123.7 kB / 0.5673 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.2847, allocations: 5.016 kB / 0.5673 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.2854, allocations: 59.94 kB / 0.5674 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.2855, allocations: 27.92 kB / 0.5674 GB, free: 1.324 MB / 430.1 MB 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 (13): * Single equations (assignments): 13 * 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.0002053/0.2857, allocations: 120.2 kB / 0.5675 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.2858, allocations: 3.906 kB / 0.5675 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.2859, allocations: 19.91 kB / 0.5676 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2859, allocations: 0 / 0.5676 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.286, allocations: 0 / 0.5676 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.286, allocations: 3.984 kB / 0.5676 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.2894, allocations: 1.105 MB / 0.5686 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2895, allocations: 0 / 0.5686 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009838/0.2905, allocations: 115.8 kB / 0.5688 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.2905, allocations: 4 kB / 0.5688 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.2906, allocations: 23.92 kB / 0.5688 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2906, allocations: 0 / 0.5688 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/0.2906, allocations: 3.953 kB / 0.5688 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.294, allocations: 0.873 MB / 0.5696 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.2943, allocations: 117 kB / 0.5698 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.2944, allocations: 4 kB / 0.5698 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.2952, allocations: 64 kB / 0.5698 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2953, allocations: 31.88 kB / 0.5698 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.2954, allocations: 23.92 kB / 0.5699 GB, free: 14.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.548e-05/0.2955, allocations: 83.47 kB / 0.57 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2955, allocations: 0 / 0.57 GB, free: 14.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.2961, allocations: 60 kB / 0.57 GB, free: 14.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.000275/0.2964, allocations: 112 kB / 0.5701 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.2984, allocations: 475.5 kB / 0.5706 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2985, allocations: 0 / 0.5706 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.2995, allocations: 251.7 kB / 0.5708 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3001, allocations: 11.98 kB / 0.5708 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/0.3056, allocations: 0.8908 MB / 0.5717 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.3063, allocations: 0.6926 MB / 0.5724 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.3068, allocations: 79.17 kB / 0.5724 GB, free: 11.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3068, allocations: 0 / 0.5724 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Templates: time 0.009563/0.3164, allocations: 3.795 MB / 0.5761 GB, free: 8.164 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o] Error 1