Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_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.001217/0.001217, allocations: 102.5 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.001757/0.001757, allocations: 178.6 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.439/1.439, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004862, allocations: 12 kB / 0.8717 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8604, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00179/0.8622, allocations: 1.157 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000282/0.8625, allocations: 88.69 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.8626, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.8626, allocations: 7.875 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.8626, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.8628, allocations: 11.98 kB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.8629, allocations: 23.92 kB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.863, allocations: 7.938 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.8631, allocations: 7.984 kB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.8631, allocations: 11.94 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.8631, allocations: 4 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-05/0.8632, allocations: 15.98 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.8632, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.8632, allocations: 33.69 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.35e-05/0.8633, allocations: 19.95 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8633, allocations: 3.938 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8634, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8634, allocations: 0 / 1.023 GB, free: 15.74 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.0004611/0.8638, allocations: 349.3 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.8639, allocations: 11.98 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.864, allocations: 19.98 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.8642, allocations: 170.9 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.8642, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.8643, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.8645, allocations: 69.61 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.8645, allocations: 3.984 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.8645, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8645, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.8647, allocations: 63.95 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.8652, allocations: 268.9 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.8654, allocations: 70.48 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.8655, allocations: 36.89 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.8655, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.8655, allocations: 34.56 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8655, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004312/0.866, allocations: 125.7 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.866, allocations: 55.34 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.8661, allocations: 105.8 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.8661, allocations: 25.7 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.8662, allocations: 80.14 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.8662, allocations: 11.91 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.8662, allocations: 4.031 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8664, allocations: 314.8 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.8665, allocations: 27.98 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.8666, allocations: 35.97 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/0.8667, allocations: 35.91 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8667, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003223/0.867, allocations: 101.6 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.867, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.867, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.8671, allocations: 3.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.8672, allocations: 23.95 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.8672, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.8673, allocations: 11.98 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.8673, allocations: 0 / 1.025 GB, free: 13.5 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.338e-05/0.8674, allocations: 109.8 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.8674, allocations: 3.953 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.8674, allocations: 11.53 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8674, allocations: 3.984 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8675, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8675, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.8676, allocations: 161.7 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8677, allocations: 0 / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.8677, allocations: 11.98 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.8677, allocations: 3.953 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.8678, allocations: 4 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.8678, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8678, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.8681, allocations: 199.4 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.8681, allocations: 81.02 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.8682, allocations: 3.953 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.8682, allocations: 15.98 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.8683, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.8683, allocations: 256 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.8684, allocations: 91.27 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8684, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002166/0.8686, allocations: 8.031 kB / 1.026 GB, free: 12.7 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.0001339/0.8687, allocations: 95.25 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.869, allocations: 67.95 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.869, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.8691, allocations: 39.91 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.8694, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.8697, allocations: 158.5 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.8702, allocations: 0.6809 MB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.8702, allocations: 7.438 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8702, allocations: 3.938 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.001879/0.8721, allocations: 0.617 MB / 1.027 GB, free: 10.97 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o] Error 1