Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_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.000761/0.0007603, allocations: 102.1 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.000945/0.000945, allocations: 176.4 kB / 16.58 MB, free: 6.402 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.408/1.408, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 436.7 MB / 0.7114 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 8 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8381, allocations: 153.7 MB / 1.022 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001758/0.84, allocations: 1.161 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.8407, allocations: 360 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.8407, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.8408, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.8408, allocations: 3.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.8412, allocations: 75.83 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.8413, allocations: 15.94 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.8414, allocations: 7.984 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.8414, allocations: 8 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.8415, allocations: 15.92 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.8415, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.8419, allocations: 271.7 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.8419, allocations: 3.984 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.8419, allocations: 33.58 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.8421, allocations: 67.88 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8421, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8421, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8421, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 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.0005345/0.8427, allocations: 373.3 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8427, allocations: 11.98 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.8428, allocations: 4 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.8429, allocations: 166.9 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.843, allocations: 4 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.843, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.8432, allocations: 65.61 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.8432, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.8432, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.8432, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.8434, allocations: 47.89 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.8437, allocations: 256.9 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.8439, allocations: 42.55 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.844, allocations: 32.91 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.8447, allocations: 465.4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.8447, allocations: 34.56 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8447, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.8451, allocations: 105.7 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.8451, allocations: 51.41 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.8452, allocations: 101.9 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.8453, allocations: 29.69 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.8453, allocations: 84.14 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.8453, allocations: 3.906 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.8453, allocations: 3.938 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8455, allocations: 314.8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.8456, allocations: 24.02 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.8456, allocations: 23.97 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.117e-05/0.8457, allocations: 23.98 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8457, allocations: 4.062 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.8459, allocations: 85.45 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.8459, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.846, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.846, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.8461, allocations: 12.03 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.8461, allocations: 3.984 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.8461, allocations: 8.25 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.8461, allocations: 4 kB / 1.026 GB, free: 12.35 MB / 0.7794 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.755e-05/0.8462, allocations: 105.8 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.8463, allocations: 3.953 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.8465, allocations: 101.1 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8465, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8466, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.8466, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.8467, allocations: 153.7 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8467, allocations: 4.031 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.8468, allocations: 15.98 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8468, allocations: 3.953 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.8468, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8468, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8468, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.8471, allocations: 175.5 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.8471, allocations: 85 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.8472, allocations: 3.953 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.8472, allocations: 8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.8473, allocations: 7.922 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.8473, allocations: 4.031 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.8473, allocations: 87.22 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8473, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002396/0.8476, allocations: 19.94 kB / 1.027 GB, free: 11.49 MB / 0.7794 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.0001929/0.8478, allocations: 119.2 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.848, allocations: 51.97 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.848, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.8481, allocations: 23.97 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.8484, allocations: 6.188 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.8487, allocations: 138.5 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.849, allocations: 0.6809 MB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.849, allocations: 7.438 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.849, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.002163/0.8512, allocations: 0.704 MB / 1.028 GB, free: 9.703 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1