Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.002176/0.002177, allocations: 100.1 kB / 15.88 MB, free: 12 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.00239/0.00239, allocations: 197.3 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.698/2.698, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003583/0.003583, allocations: 286.8 kB / 290.9 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.917/1.917, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 89.06 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3959, allocations: 86.99 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.005222/0.4012, allocations: 1.498 MB / 0.6815 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004875/0.4017, allocations: 88.59 kB / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.4017, allocations: 0 / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.4018, allocations: 1.406 kB / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.4019, allocations: 3.938 kB / 0.6816 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.4022, allocations: 15.98 kB / 0.6816 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.673e-05/0.4023, allocations: 20.58 kB / 0.6817 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4024, allocations: 12.86 kB / 0.6817 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.4025, allocations: 7.938 kB / 0.6817 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.4026, allocations: 16.69 kB / 0.6817 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.4026, allocations: 3.938 kB / 0.6817 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.4027, allocations: 16.61 kB / 0.6817 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.4027, allocations: 0 / 0.6817 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.4028, allocations: 21.39 kB / 0.6817 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.4029, allocations: 24.25 kB / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.403, allocations: 0 / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.403, allocations: 0 / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.403, allocations: 0.5312 kB / 0.6818 GB, free: 15.45 MB / 494.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.000708/0.4037, allocations: 343.4 kB / 0.6821 GB, free: 15.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.4038, allocations: 12.03 kB / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.404, allocations: 12.92 kB / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.4043, allocations: 164.3 kB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.4043, allocations: 384 / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4044, allocations: 8.312 kB / 0.6823 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.4047, allocations: 58.22 kB / 0.6823 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4047, allocations: 8.188 kB / 0.6823 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.4047, allocations: 3.938 kB / 0.6823 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4048, allocations: 0 / 0.6823 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.4051, allocations: 39.95 kB / 0.6824 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.4058, allocations: 265 kB / 0.6826 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.4061, allocations: 58.42 kB / 0.6827 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.4063, allocations: 32.89 kB / 0.6827 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.4063, allocations: 3.984 kB / 0.6827 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.4064, allocations: 30.56 kB / 0.6828 GB, free: 14.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 4.578e-06/0.4064, allocations: 0 / 0.6828 GB, free: 14.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006795/0.4071, allocations: 109.6 kB / 0.6829 GB, free: 14.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.4072, allocations: 51.41 kB / 0.6829 GB, free: 14.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4073, allocations: 113.8 kB / 0.683 GB, free: 13.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.4074, allocations: 25.7 kB / 0.683 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4075, allocations: 88.08 kB / 0.6831 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.4075, allocations: 8.031 kB / 0.6831 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.4076, allocations: 17.7 kB / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4078, allocations: 314.8 kB / 0.6835 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.408, allocations: 19.98 kB / 0.6835 GB, free: 13.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4081, allocations: 23.97 kB / 0.6835 GB, free: 13.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.4084, allocations: 52.88 kB / 0.6835 GB, free: 13.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4084, allocations: 0 / 0.6835 GB, free: 13.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003768/0.4088, allocations: 85.58 kB / 0.6836 GB, free: 13.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4089, allocations: 4 kB / 0.6836 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4089, allocations: 0 / 0.6836 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4089, allocations: 7.938 kB / 0.6836 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4091, allocations: 12.02 kB / 0.6837 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4091, allocations: 4 kB / 0.6837 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.296e-05/0.4092, allocations: 7.984 kB / 0.6837 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4092, allocations: 0 / 0.6837 GB, free: 13.28 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.4094, allocations: 119 kB / 0.6838 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.4094, allocations: 7.906 kB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.4095, allocations: 3.531 kB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4095, allocations: 0 / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4095, allocations: 4 kB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4095, allocations: 0 / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.4098, allocations: 169.6 kB / 0.684 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4099, allocations: 3.984 kB / 0.684 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.41, allocations: 8 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.41, allocations: 0 / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.41, allocations: 3.984 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.41, allocations: 0 / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.41, allocations: 0 / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.4105, allocations: 179.4 kB / 0.6841 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.4106, allocations: 89 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.4106, allocations: 0 / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4108, allocations: 11.92 kB / 0.6842 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.4109, allocations: 7.984 kB / 0.6842 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4109, allocations: 8.031 kB / 0.6843 GB, free: 12.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.411, allocations: 83.53 kB / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.411, allocations: 0 / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.4114, allocations: 4 kB / 0.6843 GB, free: 12.5 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002414/0.4117, allocations: 103.2 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.4121, allocations: 43.95 kB / 0.6845 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4121, allocations: 8.062 kB / 0.6845 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.4123, allocations: 27.91 kB / 0.6845 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.4129, allocations: 15.84 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.4135, allocations: 149 kB / 0.6847 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.414, allocations: 0.681 MB / 0.6853 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.4141, allocations: 11.44 kB / 0.6853 GB, free: 11.4 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4141, allocations: 0 / 0.6853 GB, free: 11.4 MB / 494.1 MB Notification: Performance of Templates: time 0.003095/0.4172, allocations: 0.6223 MB / 0.6859 GB, free: 10.79 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o] Error 1