Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.0009024, allocations: 90.05 kB / 16.02 MB, free: 80 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.001483/0.001483, allocations: 177.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.872/1.872, allocations: 292.7 MB / 0.5509 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000586/0.000586, allocations: 13.34 kB / 0.675 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.331, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001911/0.333, allocations: 1.156 MB / 0.7897 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.3339, allocations: 408.8 kB / 0.79 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.3339, allocations: 0 / 0.79 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.334, allocations: 3.984 kB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.334, allocations: 3.938 kB / 0.7901 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3344, allocations: 75.84 kB / 0.7901 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.3344, allocations: 31.8 kB / 0.7902 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.3345, allocations: 4 kB / 0.7902 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.3346, allocations: 12 kB / 0.7902 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.3347, allocations: 15.91 kB / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3347, allocations: 0 / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.3351, allocations: 271.7 kB / 0.7904 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.3351, allocations: 3.984 kB / 0.7905 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.3352, allocations: 33.64 kB / 0.7905 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3353, allocations: 71.88 kB / 0.7906 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3353, allocations: 3.938 kB / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3353, allocations: 0 / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3354, allocations: 0 / 0.7906 GB, free: 9.484 MB / 0.6075 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.0005454/0.3359, allocations: 367.7 kB / 0.7909 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.336, allocations: 8.031 kB / 0.7909 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.336, allocations: 4.938 kB / 0.7909 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3362, allocations: 172.2 kB / 0.7911 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3362, allocations: 384 / 0.7911 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3362, allocations: 4.375 kB / 0.7911 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3364, allocations: 58.23 kB / 0.7911 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3365, allocations: 4.172 kB / 0.7911 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3365, allocations: 3.938 kB / 0.7912 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3365, allocations: 0 / 0.7912 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.3367, allocations: 43.97 kB / 0.7912 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.3371, allocations: 256.9 kB / 0.7914 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3372, allocations: 42.5 kB / 0.7915 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.3373, allocations: 32.89 kB / 0.7915 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007307/0.3381, allocations: 465.5 kB / 0.792 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3381, allocations: 34.55 kB / 0.792 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3381, allocations: 0 / 0.792 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004197/0.3385, allocations: 101.7 kB / 0.7921 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3386, allocations: 51.41 kB / 0.7921 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.3387, allocations: 105.8 kB / 0.7922 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3387, allocations: 25.7 kB / 0.7923 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.3388, allocations: 88.12 kB / 0.7923 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3388, allocations: 11.83 kB / 0.7924 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.3388, allocations: 13.72 kB / 0.7924 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.339, allocations: 314.9 kB / 0.7927 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.3391, allocations: 19.98 kB / 0.7927 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.3392, allocations: 19.98 kB / 0.7927 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.3394, allocations: 56.88 kB / 0.7928 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3394, allocations: 3.938 kB / 0.7928 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002441/0.3396, allocations: 93.44 kB / 0.7929 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3396, allocations: 7.938 kB / 0.7929 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3397, allocations: 0 / 0.7929 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3397, allocations: 0 / 0.7929 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.3398, allocations: 8 kB / 0.7929 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3398, allocations: 4 kB / 0.7929 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.3398, allocations: 7.984 kB / 0.7929 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.3399, allocations: 4.031 kB / 0.7929 GB, free: 6.781 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.3399, allocations: 120.6 kB / 0.793 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.34, allocations: 0 / 0.793 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.3403, allocations: 85.17 kB / 0.7931 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3403, allocations: 7.938 kB / 0.7931 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3403, allocations: 0 / 0.7931 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.3403, allocations: 0 / 0.7931 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3405, allocations: 161.9 kB / 0.7932 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3405, allocations: 4 kB / 0.7932 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.3406, allocations: 11.98 kB / 0.7933 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3406, allocations: 4 kB / 0.7933 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3406, allocations: 0 / 0.7933 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3406, allocations: 0 / 0.7933 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3406, allocations: 4.031 kB / 0.7933 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3409, allocations: 175.5 kB / 0.7934 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.341, allocations: 81.02 kB / 0.7935 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.341, allocations: 8.016 kB / 0.7935 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.3411, allocations: 8 kB / 0.7935 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3411, allocations: 3.984 kB / 0.7935 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3411, allocations: 0 / 0.7935 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.3412, allocations: 83.28 kB / 0.7936 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3412, allocations: 3.938 kB / 0.7936 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002328/0.3414, allocations: 16 kB / 0.7936 GB, free: 5.918 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002177/0.3417, allocations: 115.2 kB / 0.7937 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.3419, allocations: 39.97 kB / 0.7938 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3419, allocations: 4 kB / 0.7938 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.342, allocations: 28.05 kB / 0.7938 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.3423, allocations: 14.95 kB / 0.7938 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.3426, allocations: 138.4 kB / 0.794 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.343, allocations: 0.6809 MB / 0.7946 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.343, allocations: 7.438 kB / 0.7946 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.343, allocations: 4.062 kB / 0.7946 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of Templates: time 0.002237/0.3453, allocations: 0.7018 MB / 0.7953 GB, free: 4.129 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 OMCppBuildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1