Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01161/0.01161, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00166/0.00166, allocations: 192 kB / 16.79 MB, free: 5.809 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.651/1.651, allocations: 205.1 MB / 222.7 MB, free: 4.77 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.839/1.839, allocations: 292.3 MB / 0.5491 GB, free: 13.61 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.00138/0.00138, allocations: 74.72 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3396, allocations: 114.5 MB / 0.7833 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00259/0.3422, allocations: 0.647 MB / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007671/0.3431, allocations: 350.9 kB / 0.7843 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.295e-05/0.3431, allocations: 4 kB / 0.7843 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.3431, allocations: 0 / 0.7843 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.962e-06/0.3431, allocations: 0 / 0.7843 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.3435, allocations: 73.09 kB / 0.7844 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.198e-05/0.3436, allocations: 4 kB / 0.7844 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.3436, allocations: 4 kB / 0.7844 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.3437, allocations: 3.938 kB / 0.7844 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.406e-05/0.3437, allocations: 3.938 kB / 0.7844 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.3437, allocations: 4 kB / 0.7844 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.3441, allocations: 271.7 kB / 0.7847 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.3442, allocations: 0 / 0.7847 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3442, allocations: 4 kB / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3443, allocations: 55.89 kB / 0.7847 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3444, allocations: 3.938 kB / 0.7847 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3444, allocations: 0 / 0.7847 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3444, allocations: 0 / 0.7847 GB, free: 12.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004019/0.3448, allocations: 331.6 kB / 0.785 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3448, allocations: 8.031 kB / 0.785 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.3449, allocations: 8.938 kB / 0.785 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.345, allocations: 160.4 kB / 0.7852 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.3451, allocations: 384 / 0.7852 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3451, allocations: 384 / 0.7852 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3452, allocations: 30.27 kB / 0.7852 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3452, allocations: 4.172 kB / 0.7852 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3452, allocations: 11.92 kB / 0.7852 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3452, allocations: 0 / 0.7852 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.3453, allocations: 3.938 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.3454, allocations: 145.7 kB / 0.7854 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.3455, allocations: 22.61 kB / 0.7854 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.3455, allocations: 8.797 kB / 0.7854 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/0.3461, allocations: 425.6 kB / 0.7858 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3462, allocations: 34.56 kB / 0.7859 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.3462, allocations: 0 / 0.7859 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000254/0.3464, allocations: 45.56 kB / 0.7859 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3465, allocations: 51.41 kB / 0.786 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.873e-05/0.3465, allocations: 89.86 kB / 0.786 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3466, allocations: 25.7 kB / 0.7861 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.3466, allocations: 80.14 kB / 0.7861 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3467, allocations: 3.906 kB / 0.7861 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3467, allocations: 21.84 kB / 0.7862 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3468, allocations: 310.8 kB / 0.7865 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.3469, allocations: 0 / 0.7865 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.3469, allocations: 4 kB / 0.7865 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.3469, allocations: 8.844 kB / 0.7865 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3469, allocations: 0 / 0.7865 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.037e-05/0.347, allocations: 41.64 kB / 0.7865 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.347, allocations: 8.094 kB / 0.7865 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.347, allocations: 0 / 0.7865 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.347, allocations: 3.938 kB / 0.7865 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.3471, allocations: 4 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3471, allocations: 0 / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.3471, allocations: 0 / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3471, allocations: 0 / 0.7865 GB, free: 10.38 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 (1): * Single equations (assignments): 1 * 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.541e-05/0.3472, allocations: 109.8 kB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.3472, allocations: 4 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.497e-05/0.3473, allocations: 48.64 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3474, allocations: 0 / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3474, allocations: 0 / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3474, allocations: 0 / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3475, allocations: 153.7 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3475, allocations: 4 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.3475, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3475, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.3475, allocations: 7.875 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3475, allocations: 0 / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3476, allocations: 4.031 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.915e-05/0.3477, allocations: 61.12 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.3477, allocations: 77.39 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3477, allocations: 3.938 kB / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.3477, allocations: 8 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.3478, allocations: 0 / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3478, allocations: 0 / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.3478, allocations: 84.31 kB / 0.7871 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3478, allocations: 0 / 0.7871 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002198/0.348, allocations: 12 kB / 0.7871 GB, free: 9.711 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 (1): * Single equations (assignments): 1 * 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.000226/0.3483, allocations: 111.2 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.3484, allocations: 4 kB / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3484, allocations: 0 / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-06/0.3484, allocations: 4 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3485, allocations: 9 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.3488, allocations: 104.5 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3491, allocations: 0.6731 MB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.3491, allocations: 7.438 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3491, allocations: 3.938 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.002007/0.3511, allocations: 475.6 kB / 0.7884 GB, free: 8.266 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1