Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001148/0.001148, allocations: 102.6 kB / 15.71 MB, free: 460 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.001332/0.001333, allocations: 174.6 kB / 16.58 MB, free: 6 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.525/1.525, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.026/1.026, allocations: 143.4 MB / 435.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 83.41 MB / 0.5981 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001806/0.2144, allocations: 1.155 MB / 0.5992 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.2151, allocations: 356 kB / 0.5995 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.2152, allocations: 0 / 0.5995 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.2152, allocations: 7.984 kB / 0.5995 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.2153, allocations: 3.938 kB / 0.5995 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.2156, allocations: 79.84 kB / 0.5996 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.2157, allocations: 23.92 kB / 0.5996 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.079e-05/0.2158, allocations: 0 / 0.5996 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.2159, allocations: 7.938 kB / 0.5996 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.2159, allocations: 15.97 kB / 0.5997 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2159, allocations: 4 kB / 0.5997 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.2163, allocations: 263.7 kB / 0.5999 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.2163, allocations: 3.938 kB / 0.5999 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.2164, allocations: 29.7 kB / 0.6 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2165, allocations: 71.86 kB / 0.6 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.2165, allocations: 4 kB / 0.6 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2165, allocations: 0 / 0.6 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2166, allocations: 0 / 0.6 GB, free: 5.789 MB / 0.4981 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.0005091/0.2171, allocations: 367.5 kB / 0.6004 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2171, allocations: 12.03 kB / 0.6004 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.2172, allocations: 0 / 0.6004 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2174, allocations: 167 kB / 0.6005 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2174, allocations: 3.984 kB / 0.6005 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.2174, allocations: 0 / 0.6005 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2176, allocations: 49.69 kB / 0.6006 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2176, allocations: 4 kB / 0.6006 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2176, allocations: 11.92 kB / 0.6006 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.2176, allocations: 4 kB / 0.6006 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.2178, allocations: 39.97 kB / 0.6007 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.2182, allocations: 256.8 kB / 0.6009 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2184, allocations: 42.56 kB / 0.6009 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.134e-05/0.2184, allocations: 24.91 kB / 0.601 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.2192, allocations: 465.5 kB / 0.6014 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.2193, allocations: 38.5 kB / 0.6014 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2193, allocations: 0 / 0.6014 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004278/0.2197, allocations: 97.77 kB / 0.6015 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.2198, allocations: 55.41 kB / 0.6016 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.2199, allocations: 109.8 kB / 0.6017 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2199, allocations: 25.7 kB / 0.6017 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.22, allocations: 84.14 kB / 0.6018 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.22, allocations: 11.84 kB / 0.6018 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.22, allocations: 0 / 0.6018 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2202, allocations: 318.8 kB / 0.6021 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.2203, allocations: 27.92 kB / 0.6021 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.2204, allocations: 19.98 kB / 0.6022 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.456e-05/0.2204, allocations: 23.92 kB / 0.6022 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2204, allocations: 4.062 kB / 0.6022 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002062/0.2207, allocations: 77.66 kB / 0.6023 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2207, allocations: 8 kB / 0.6023 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2207, allocations: 0 / 0.6023 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2207, allocations: 3.938 kB / 0.6023 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.2208, allocations: 16.02 kB / 0.6023 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2208, allocations: 3.984 kB / 0.6023 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.2209, allocations: 11.98 kB / 0.6023 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2209, allocations: 3.953 kB / 0.6023 GB, free: 3.141 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.702e-05/0.221, allocations: 105.8 kB / 0.6024 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.221, allocations: 11.89 kB / 0.6024 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.2213, allocations: 89.12 kB / 0.6025 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2213, allocations: 0 / 0.6025 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2213, allocations: 0 / 0.6025 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2213, allocations: 0 / 0.6025 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2215, allocations: 169.6 kB / 0.6027 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2215, allocations: 0 / 0.6027 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.2216, allocations: 20.02 kB / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2216, allocations: 0 / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2216, allocations: 256 / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2216, allocations: 4 kB / 0.6027 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2216, allocations: 0 / 0.6027 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2219, allocations: 179.4 kB / 0.6029 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.2219, allocations: 77.11 kB / 0.6029 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2219, allocations: 4 kB / 0.6029 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.222, allocations: 11.98 kB / 0.6029 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2221, allocations: 0 / 0.6029 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2221, allocations: 8.031 kB / 0.603 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.2221, allocations: 79.28 kB / 0.603 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2221, allocations: 0 / 0.603 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002384/0.2224, allocations: 23.98 kB / 0.6031 GB, free: 2.27 MB / 0.4981 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 (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.0002174/0.2226, allocations: 103.2 kB / 0.6032 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.2228, allocations: 51.95 kB / 0.6032 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2228, allocations: 0 / 0.6032 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.2229, allocations: 27.92 kB / 0.6032 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2232, allocations: 7.953 kB / 0.6032 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.2235, allocations: 146.4 kB / 0.6034 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2239, allocations: 0.6809 MB / 0.604 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.2239, allocations: 7.438 kB / 0.604 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.2239, allocations: 4 kB / 0.6041 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.002194/0.2261, allocations: 0.6925 MB / 0.6047 GB, free: 0.4961 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1