Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008892/0.0008895, allocations: 101.5 kB / 15.71 MB, free: 456 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.000933/0.0009331, allocations: 178 kB / 16.58 MB, free: 6.859 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.404/1.404, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.597/2.597, allocations: 390.4 MB / 0.6662 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8187, allocations: 142.3 MB / 0.9544 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001287/0.8201, allocations: 1.156 MB / 0.9555 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002278/0.8203, allocations: 84.03 kB / 0.9556 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.8204, allocations: 0 / 0.9556 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.8204, allocations: 3.938 kB / 0.9556 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.8204, allocations: 1.219 kB / 0.9556 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.8206, allocations: 14.77 kB / 0.9556 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.8207, allocations: 32.11 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.8207, allocations: 2.5 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.8208, allocations: 7.422 kB / 0.9557 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.8208, allocations: 12.56 kB / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.8208, allocations: 0 / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.003e-05/0.8209, allocations: 15.39 kB / 0.9557 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-06/0.8209, allocations: 9.562 kB / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.8209, allocations: 27.02 kB / 0.9557 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.581e-05/0.821, allocations: 17.56 kB / 0.9558 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.821, allocations: 1.125 kB / 0.9558 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.821, allocations: 0 / 0.9558 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.821, allocations: 4 kB / 0.9558 GB, free: 6.973 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000327/0.8214, allocations: 339.3 kB / 0.9561 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8214, allocations: 9.531 kB / 0.9561 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.8216, allocations: 21.38 kB / 0.9561 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.109e-05/0.8216, allocations: 177 kB / 0.9563 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.8217, allocations: 5.438 kB / 0.9563 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.8217, allocations: 5.109 kB / 0.9563 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.8219, allocations: 59.14 kB / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.8219, allocations: 0 / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.8219, allocations: 0.9688 kB / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.8219, allocations: 0 / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.8221, allocations: 72.36 kB / 0.9564 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.8224, allocations: 264.5 kB / 0.9567 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.8226, allocations: 67.69 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.8227, allocations: 38.12 kB / 0.9568 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.8227, allocations: 0 / 0.9568 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.8227, allocations: 31.88 kB / 0.9568 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.8227, allocations: 0 / 0.9568 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003869/0.8231, allocations: 132.2 kB / 0.9569 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.8231, allocations: 51.41 kB / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.8232, allocations: 114.3 kB / 0.9571 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.8232, allocations: 29.7 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.8232, allocations: 81.61 kB / 0.9572 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.8233, allocations: 11.89 kB / 0.9572 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.8233, allocations: 0.9688 kB / 0.9572 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.8233, allocations: 312.2 kB / 0.9575 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.8234, allocations: 35.84 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.8235, allocations: 27.64 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.8236, allocations: 31.34 kB / 0.9576 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8236, allocations: 5.094 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002182/0.8239, allocations: 90 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8239, allocations: 5.781 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.8239, allocations: 4.031 kB / 0.9577 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.8239, allocations: 0 / 0.9577 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.824, allocations: 22.91 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.824, allocations: 0 / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.8241, allocations: 13.11 kB / 0.9577 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.8241, allocations: 1.312 kB / 0.9577 GB, free: 5.109 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 (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.367e-05/0.8242, allocations: 111.3 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.8242, allocations: 9.359 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.8242, allocations: 9 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.8242, allocations: 0 / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.8242, allocations: 3.953 kB / 0.9579 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8242, allocations: 1.219 kB / 0.9579 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.8244, allocations: 160 kB / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8244, allocations: 0 / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.829e-05/0.8245, allocations: 15.2 kB / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8245, allocations: 4 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.8245, allocations: 5.125 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8245, allocations: 0 / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8245, allocations: 0 / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.8247, allocations: 200.9 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.8248, allocations: 82.23 kB / 0.9583 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.8248, allocations: 0 / 0.9583 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.8249, allocations: 12.45 kB / 0.9583 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.8249, allocations: 1.156 kB / 0.9583 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.8249, allocations: 5.406 kB / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.8249, allocations: 87.36 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.825, allocations: 0 / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000215/0.8252, allocations: 10.17 kB / 0.9584 GB, free: 4.398 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 (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 9.405e-05/0.8253, allocations: 94.06 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.8255, allocations: 66.83 kB / 0.9586 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8255, allocations: 3.938 kB / 0.9586 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.8256, allocations: 42.62 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.8259, allocations: 2.969 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.8262, allocations: 153.7 kB / 0.9588 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.8263, allocations: 0.6786 MB / 0.9594 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.8264, allocations: 12.56 kB / 0.9594 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8264, allocations: 0 / 0.9594 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.00179/0.8282, allocations: 0.6283 MB / 0.96 GB, free: 3.09 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearizedCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o] Error 1