Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0009917/0.0009921, allocations: 92.77 kB / 16.33 MB, free: 5.582 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.001297/0.001297, allocations: 187.2 kB / 17.23 MB, free: 5.496 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.454/1.454, allocations: 223.2 MB / 241.2 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7506/0.7506, allocations: 114.3 MB / 406.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004306, allocations: 12 kB / 494.4 MB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4816, allocations: 77.25 MB / 0.5583 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001599/0.4833, allocations: 1.145 MB / 0.5594 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.484, allocations: 367.2 kB / 0.5598 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.484, allocations: 1.781 kB / 0.5598 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.484, allocations: 1.547 kB / 0.5598 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.4841, allocations: 4.547 kB / 0.5598 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.4844, allocations: 78.97 kB / 0.5599 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.4845, allocations: 19.38 kB / 0.5599 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.4846, allocations: 5.375 kB / 0.5599 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.4846, allocations: 8.984 kB / 0.5599 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.4847, allocations: 11.27 kB / 0.5599 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.4847, allocations: 1.562 kB / 0.5599 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.4851, allocations: 264.1 kB / 0.5601 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.4851, allocations: 5.375 kB / 0.5602 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.4852, allocations: 32.17 kB / 0.5602 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.4853, allocations: 70.48 kB / 0.5603 GB, free: 35.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4853, allocations: 1.281 kB / 0.5603 GB, free: 35.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4853, allocations: 0 / 0.5603 GB, free: 35.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4853, allocations: 0.9688 kB / 0.5603 GB, free: 35.41 MB / 446.1 MB 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.0003745/0.4857, allocations: 359.5 kB / 0.5606 GB, free: 35.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4858, allocations: 13.7 kB / 0.5606 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.4858, allocations: 5.906 kB / 0.5606 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.4859, allocations: 171.8 kB / 0.5608 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.4859, allocations: 2.406 kB / 0.5608 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.486, allocations: 2.172 kB / 0.5608 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.4861, allocations: 54.97 kB / 0.5608 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4861, allocations: 5.984 kB / 0.5608 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4862, allocations: 1.188 kB / 0.5608 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4862, allocations: 0 / 0.5608 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.4864, allocations: 49.86 kB / 0.5609 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.4867, allocations: 252.5 kB / 0.5611 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.4868, allocations: 45 kB / 0.5612 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.4869, allocations: 28.39 kB / 0.5612 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.4875, allocations: 468.5 kB / 0.5616 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4876, allocations: 32.28 kB / 0.5617 GB, free: 33.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4876, allocations: 0.5312 kB / 0.5617 GB, free: 33.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003972/0.488, allocations: 107 kB / 0.5618 GB, free: 33.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.488, allocations: 52.62 kB / 0.5618 GB, free: 33.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.4881, allocations: 104.4 kB / 0.5619 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.4881, allocations: 26.5 kB / 0.562 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.4882, allocations: 90.36 kB / 0.562 GB, free: 33.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.4882, allocations: 5.375 kB / 0.562 GB, free: 33.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4882, allocations: 3.938 kB / 0.5621 GB, free: 33.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.4882, allocations: 313.1 kB / 0.5624 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.4883, allocations: 24.55 kB / 0.5624 GB, free: 33.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.4884, allocations: 20.94 kB / 0.5624 GB, free: 33.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.629e-05/0.4885, allocations: 24.98 kB / 0.5624 GB, free: 33.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4885, allocations: 1.406 kB / 0.5624 GB, free: 33.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.4887, allocations: 83.38 kB / 0.5625 GB, free: 33.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4887, allocations: 4.938 kB / 0.5625 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4887, allocations: 1.375 kB / 0.5625 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4888, allocations: 2.562 kB / 0.5625 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.4889, allocations: 18.19 kB / 0.5625 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4889, allocations: 0 / 0.5625 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.4889, allocations: 7.578 kB / 0.5625 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.4889, allocations: 5.906 kB / 0.5625 GB, free: 33.26 MB / 446.1 MB 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 5.667e-05/0.489, allocations: 110.2 kB / 0.5626 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.489, allocations: 7.766 kB / 0.5627 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.4893, allocations: 88.84 kB / 0.5627 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4893, allocations: 0 / 0.5627 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4893, allocations: 1.094 kB / 0.5627 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4893, allocations: 0 / 0.5627 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.4894, allocations: 158.2 kB / 0.5629 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4894, allocations: 0.7812 kB / 0.5629 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.4895, allocations: 16.89 kB / 0.5629 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4895, allocations: 0 / 0.5629 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4895, allocations: 6.109 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4895, allocations: 0.5156 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4895, allocations: 2.969 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.4898, allocations: 176.8 kB / 0.5631 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.4898, allocations: 78.73 kB / 0.5632 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4898, allocations: 2.219 kB / 0.5632 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.4899, allocations: 15.47 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.4899, allocations: 3.391 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.49, allocations: 2.312 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.49, allocations: 86.88 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.49, allocations: 0 / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.4902, allocations: 20.95 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB 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.0001799/0.4904, allocations: 105.3 kB / 0.5634 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4907, allocations: 52.69 kB / 0.5634 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4907, allocations: 0 / 0.5634 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.4908, allocations: 22.62 kB / 0.5635 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.4911, allocations: 11.91 kB / 0.5635 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.4914, allocations: 142.2 kB / 0.5636 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.4915, allocations: 0.6808 MB / 0.5643 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.4916, allocations: 9.875 kB / 0.5643 GB, free: 31.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4916, allocations: 0 / 0.5643 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Templates: time 0.002614/0.4942, allocations: 0.6904 MB / 0.5649 GB, free: 31.61 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1