Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00213/0.002129, allocations: 100.1 kB / 15.88 MB, free: 12 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.002169/0.002169, allocations: 198 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.658/2.658, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003674/0.003674, allocations: 274.7 kB / 290.9 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.848/1.848, allocations: 169.2 MB / 0.4984 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 95.62 kB / 0.5951 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3799, allocations: 86.98 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.004548/0.3846, allocations: 0.6486 MB / 0.6807 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006698/0.3853, allocations: 107.6 kB / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.3854, allocations: 0 / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.3855, allocations: 8 kB / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.3855, allocations: 0 / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3859, allocations: 11.98 kB / 0.6808 GB, free: 400 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.3859, allocations: 7.938 kB / 0.6809 GB, free: 392 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.888e-05/0.386, allocations: 0 / 0.6809 GB, free: 392 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.3861, allocations: 4 kB / 0.6809 GB, free: 388 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3862, allocations: 7.969 kB / 0.6809 GB, free: 380 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3862, allocations: 0 / 0.6809 GB, free: 380 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.3864, allocations: 19.98 kB / 0.6809 GB, free: 360 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.3864, allocations: 0 / 0.6809 GB, free: 360 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.3864, allocations: 15.94 kB / 0.6809 GB, free: 344 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.3866, allocations: 3.984 kB / 0.6809 GB, free: 340 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.3866, allocations: 4 kB / 0.6809 GB, free: 336 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3866, allocations: 0 / 0.6809 GB, free: 336 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3866, allocations: 0 / 0.6809 GB, free: 336 kB / 478.1 MB 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.0006296/0.3873, allocations: 311.6 kB / 0.6812 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.86e-05/0.3874, allocations: 16.02 kB / 0.6812 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.3877, allocations: 8.922 kB / 0.6812 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3878, allocations: 160.7 kB / 0.6814 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3879, allocations: 4.375 kB / 0.6814 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3879, allocations: 384 / 0.6814 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3881, allocations: 42.25 kB / 0.6814 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3882, allocations: 4.125 kB / 0.6814 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3882, allocations: 3.938 kB / 0.6814 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3882, allocations: 0 / 0.6814 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3884, allocations: 11.98 kB / 0.6814 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.3887, allocations: 157.6 kB / 0.6816 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.389, allocations: 38.61 kB / 0.6816 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.3891, allocations: 16.91 kB / 0.6816 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3892, allocations: 0 / 0.6816 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.3892, allocations: 34.56 kB / 0.6817 GB, free: 15.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.3892, allocations: 3.938 kB / 0.6817 GB, free: 15.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004293/0.3897, allocations: 61.61 kB / 0.6817 GB, free: 15.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3898, allocations: 51.41 kB / 0.6818 GB, free: 15.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.3898, allocations: 89.86 kB / 0.6819 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3899, allocations: 29.64 kB / 0.6819 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.39, allocations: 84.14 kB / 0.682 GB, free: 15.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.39, allocations: 3.906 kB / 0.682 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.3901, allocations: 17.66 kB / 0.682 GB, free: 14.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.3904, allocations: 322.8 kB / 0.6823 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.3905, allocations: 4 kB / 0.6823 GB, free: 14.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.3905, allocations: 7.984 kB / 0.6823 GB, free: 14.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3907, allocations: 28.78 kB / 0.6824 GB, free: 14.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3907, allocations: 0 / 0.6824 GB, free: 14.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002276/0.391, allocations: 49.88 kB / 0.6824 GB, free: 14.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.391, allocations: 4 kB / 0.6824 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3911, allocations: 0 / 0.6824 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3911, allocations: 11.98 kB / 0.6824 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.3918, allocations: 43.92 kB / 0.6825 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.3941, allocations: 1.306 MB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.3942, allocations: 8.156 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3943, allocations: 0 / 0.6837 GB, free: 13.07 MB / 494.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.3944, allocations: 111.2 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3944, allocations: 7.844 kB / 0.6839 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.3945, allocations: 3.5 kB / 0.6839 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3945, allocations: 0 / 0.6839 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3945, allocations: 4 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3945, allocations: 3.984 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.3947, allocations: 153.6 kB / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3947, allocations: 4 kB / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.3954, allocations: 47.92 kB / 0.6841 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3954, allocations: 0 / 0.6841 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3954, allocations: 4 kB / 0.6841 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.3975, allocations: 1.31 MB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.3975, allocations: 4 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3978, allocations: 85 kB / 0.6854 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.3979, allocations: 77.11 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3979, allocations: 0 / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.3979, allocations: 4.094 kB / 0.6855 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.398, allocations: 7.984 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.398, allocations: 4 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.561e-05/0.3981, allocations: 79.22 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3981, allocations: 0 / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.3985, allocations: 4 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002488/0.3988, allocations: 103.2 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008343/0.3996, allocations: 63.91 kB / 0.6858 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.3997, allocations: 0 / 0.6858 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.4004, allocations: 59.86 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4007, allocations: 1.719 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.4014, allocations: 121 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.4019, allocations: 0.677 MB / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.4019, allocations: 7.438 kB / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4019, allocations: 4 kB / 0.6866 GB, free: 9.844 MB / 494.1 MB Notification: Performance of Templates: time 0.004049/0.406, allocations: 0.5773 MB / 0.6872 GB, free: 9.27 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.o] Error 1