Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001008/0.001009, allocations: 100.5 kB / 15.71 MB, free: 452 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.00214/0.00214, allocations: 175.9 kB / 16.58 MB, free: 6.879 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.513/1.513, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.555/2.555, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.000381, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8748, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009626/0.8758, allocations: 323.3 kB / 0.9547 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006972/0.8765, allocations: 295.4 kB / 0.955 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.8766, allocations: 3.938 kB / 0.955 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.8766, allocations: 0 / 0.955 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.021e-05/0.8766, allocations: 0 / 0.955 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.8771, allocations: 72.88 kB / 0.9551 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.216e-05/0.8772, allocations: 0 / 0.9551 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.8772, allocations: 5.406 kB / 0.9551 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.8773, allocations: 0 / 0.9551 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.446e-05/0.8773, allocations: 5.5 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.8773, allocations: 0 / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.8778, allocations: 262 kB / 0.9553 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.8778, allocations: 0 / 0.9553 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.8778, allocations: 25.7 kB / 0.9554 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.878, allocations: 63.17 kB / 0.9554 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.878, allocations: 0 / 0.9554 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.878, allocations: 1.469 kB / 0.9554 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.878, allocations: 0 / 0.9554 GB, free: 7.371 MB / 0.7169 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.0002748/0.8783, allocations: 326.3 kB / 0.9557 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.8784, allocations: 12.5 kB / 0.9557 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.8784, allocations: 5.422 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.807e-05/0.8785, allocations: 163.1 kB / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8785, allocations: 7.875 kB / 0.9559 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.8786, allocations: 1.375 kB / 0.9559 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.923e-05/0.8787, allocations: 26.92 kB / 0.9559 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8787, allocations: 1.031 kB / 0.9559 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8787, allocations: 0 / 0.9559 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.8787, allocations: 0 / 0.9559 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.8787, allocations: 10.3 kB / 0.956 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.8789, allocations: 155.1 kB / 0.9561 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.22e-05/0.8789, allocations: 19.92 kB / 0.9561 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.8789, allocations: 6.203 kB / 0.9561 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/0.8794, allocations: 432.7 kB / 0.9565 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.8794, allocations: 31.88 kB / 0.9566 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8794, allocations: 0 / 0.9566 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.8796, allocations: 34.55 kB / 0.9566 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.8796, allocations: 52.59 kB / 0.9567 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.364e-05/0.8797, allocations: 89.86 kB / 0.9567 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8797, allocations: 29.69 kB / 0.9568 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.516e-05/0.8797, allocations: 80.27 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.8797, allocations: 8.875 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.8797, allocations: 0 / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.8798, allocations: 315.9 kB / 0.9572 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.8798, allocations: 5.219 kB / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.8798, allocations: 1.25 kB / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.922e-05/0.8799, allocations: 1 kB / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8799, allocations: 0 / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.16e-05/0.8799, allocations: 35.3 kB / 0.9572 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.88, allocations: 9.75 kB / 0.9572 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.88, allocations: 3.938 kB / 0.9572 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.88, allocations: 5.359 kB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.88, allocations: 1.469 kB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8801, allocations: 0 / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.8801, allocations: 1.375 kB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.8801, allocations: 0 / 0.9572 GB, free: 5.305 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.8801, allocations: 111.4 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.8802, allocations: 3.938 kB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.043e-05/0.8803, allocations: 50.3 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.8803, allocations: 0 / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8803, allocations: 1.469 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8803, allocations: 0 / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.449e-05/0.8804, allocations: 151 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.8804, allocations: 0 / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.8804, allocations: 1.375 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8804, allocations: 1.406 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.8804, allocations: 0 / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8804, allocations: 8.016 kB / 0.9575 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8804, allocations: 0.9688 kB / 0.9575 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.103e-05/0.8805, allocations: 63.38 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.8805, allocations: 77.11 kB / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.8806, allocations: 1.344 kB / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-06/0.8806, allocations: 0 / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.8806, allocations: 5.359 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.8806, allocations: 4.031 kB / 0.9577 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.642e-05/0.8806, allocations: 77.06 kB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8806, allocations: 0 / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001993/0.8808, allocations: 12.5 kB / 0.9578 GB, free: 4.676 MB / 0.7169 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 (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.0002019/0.881, allocations: 109.9 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.8811, allocations: 2.75 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8811, allocations: 0.875 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-06/0.8811, allocations: 9.797 kB / 0.9579 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.8813, allocations: 11.16 kB / 0.9579 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.8815, allocations: 102.6 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.8816, allocations: 0.6703 MB / 0.9586 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.8817, allocations: 8.469 kB / 0.9586 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8817, allocations: 0 / 0.9586 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of Templates: time 0.001925/0.8836, allocations: 465.3 kB / 0.9591 GB, free: 3.52 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.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_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1