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.0009873/0.0009874, allocations: 99.19 kB / 16.02 MB, free: 76 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.001675/0.001676, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.844/1.844, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.836/1.836, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005743/0.0005745, allocations: 19.34 kB / 0.675 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3463, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008908/0.3473, allocations: 331.4 kB / 0.7889 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.3481, allocations: 343 kB / 0.7892 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.194e-05/0.3481, allocations: 0 / 0.7892 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.3481, allocations: 0 / 0.7892 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-06/0.3481, allocations: 4 kB / 0.7892 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.3485, allocations: 67.86 kB / 0.7893 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.694e-05/0.3486, allocations: 0 / 0.7893 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.3487, allocations: 7.984 kB / 0.7893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.3487, allocations: 0 / 0.7893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.3487, allocations: 3.984 kB / 0.7893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3487, allocations: 0 / 0.7893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.3492, allocations: 279.6 kB / 0.7895 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.3492, allocations: 4 kB / 0.7895 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.3493, allocations: 29.64 kB / 0.7896 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3494, allocations: 55.89 kB / 0.7896 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3494, allocations: 0 / 0.7896 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3494, allocations: 0 / 0.7896 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3494, allocations: 0 / 0.7896 GB, free: 10.45 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.0004125/0.3498, allocations: 327.6 kB / 0.7899 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3499, allocations: 12.02 kB / 0.7899 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.35, allocations: 0.9375 kB / 0.7899 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3502, allocations: 160.4 kB / 0.7901 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3502, allocations: 4.375 kB / 0.7901 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.3502, allocations: 4.375 kB / 0.7901 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.3503, allocations: 26.27 kB / 0.7901 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3504, allocations: 3.938 kB / 0.7901 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3504, allocations: 0 / 0.7901 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3504, allocations: 0 / 0.7901 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.3504, allocations: 7.938 kB / 0.7901 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.3506, allocations: 149.7 kB / 0.7903 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.223e-05/0.3506, allocations: 22.67 kB / 0.7903 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.3506, allocations: 4.859 kB / 0.7903 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/0.3512, allocations: 425.5 kB / 0.7907 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3512, allocations: 30.56 kB / 0.7907 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.3512, allocations: 7.938 kB / 0.7908 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.3514, allocations: 37.58 kB / 0.7908 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3514, allocations: 55.39 kB / 0.7908 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.675e-05/0.3515, allocations: 89.86 kB / 0.7909 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3515, allocations: 37.64 kB / 0.791 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.3515, allocations: 80.14 kB / 0.791 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3516, allocations: 3.906 kB / 0.791 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.3516, allocations: 9.719 kB / 0.7911 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3517, allocations: 315 kB / 0.7914 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.3518, allocations: 0 / 0.7914 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.3518, allocations: 4 kB / 0.7914 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.3518, allocations: 4.859 kB / 0.7914 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3518, allocations: 0 / 0.7914 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.724e-05/0.3519, allocations: 45.62 kB / 0.7914 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3519, allocations: 4 kB / 0.7914 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3519, allocations: 3.938 kB / 0.7914 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3519, allocations: 4.094 kB / 0.7914 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.352, allocations: 4 kB / 0.7914 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.352, allocations: 0 / 0.7914 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.352, allocations: 0 / 0.7914 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.352, allocations: 0 / 0.7914 GB, free: 8.293 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.755e-05/0.3521, allocations: 110.5 kB / 0.7915 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.3521, allocations: 3.984 kB / 0.7915 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-05/0.3522, allocations: 40.75 kB / 0.7916 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3522, allocations: 7.969 kB / 0.7916 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3523, allocations: 0 / 0.7916 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3523, allocations: 0 / 0.7916 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.3524, allocations: 149.7 kB / 0.7917 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3524, allocations: 4 kB / 0.7917 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.3524, allocations: 3.984 kB / 0.7917 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3524, allocations: 0 / 0.7917 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3524, allocations: 3.938 kB / 0.7917 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3524, allocations: 4 kB / 0.7917 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3524, allocations: 0 / 0.7917 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.222e-05/0.3525, allocations: 57.14 kB / 0.7918 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3527, allocations: 77.39 kB / 0.7919 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3527, allocations: 11.92 kB / 0.7919 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.3527, allocations: 0 / 0.7919 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.3527, allocations: 0 / 0.7919 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3527, allocations: 0 / 0.7919 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.3528, allocations: 80.28 kB / 0.792 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.343e-06/0.3528, allocations: 0 / 0.792 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001854/0.353, allocations: 23.91 kB / 0.792 GB, free: 7.621 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.0002889/0.3533, allocations: 115.2 kB / 0.7921 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.3533, allocations: 4 kB / 0.7921 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3534, allocations: 0 / 0.7921 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-06/0.3534, allocations: 4 kB / 0.7921 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.3535, allocations: 3.938 kB / 0.7921 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.3537, allocations: 104.6 kB / 0.7922 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.354, allocations: 0.6731 MB / 0.7929 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.354, allocations: 11.42 kB / 0.7929 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.354, allocations: 0 / 0.7929 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.001883/0.3559, allocations: 463.7 kB / 0.7933 GB, free: 6.188 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