Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008715, 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.001045/0.001046, allocations: 178.1 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.501/1.501, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 8 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8872, allocations: 153.7 MB / 1.022 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003643/0.8909, allocations: 2.805 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.8929, allocations: 1.271 MB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.8931, allocations: 7.938 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.8933, allocations: 43.7 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.8936, allocations: 119.4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.894, allocations: 103.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.8944, allocations: 374.6 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.8947, allocations: 219.3 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.8949, allocations: 115.6 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.8952, allocations: 135.5 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.8952, allocations: 8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.8954, allocations: 91.81 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.8955, allocations: 63.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.8956, allocations: 69.58 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.8959, allocations: 261.3 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.8959, allocations: 4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8959, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.896, allocations: 0 / 1.027 GB, free: 11.44 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008395/0.8968, allocations: 0.5028 MB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8969, allocations: 11.98 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/0.8974, allocations: 83.64 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.8977, allocations: 250.6 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.8977, allocations: 12.44 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.8978, allocations: 23.98 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.8983, allocations: 312.3 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8983, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.8983, allocations: 12 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.8984, allocations: 20.42 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.8988, allocations: 213.5 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.9003, allocations: 1.505 MB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.9008, allocations: 203.7 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.774e-05/0.9009, allocations: 44.84 kB / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.9009, allocations: 3.984 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.9009, allocations: 34.56 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.9009, allocations: 4 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.9015, allocations: 271.2 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.9015, allocations: 51.41 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.9018, allocations: 203.8 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.9018, allocations: 29.7 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.9019, allocations: 179.6 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.902, allocations: 23.66 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.902, allocations: 4 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9021, allocations: 334.8 kB / 1.031 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.9022, allocations: 43.92 kB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.9023, allocations: 118.2 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.9025, allocations: 63.92 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9025, allocations: 4 kB / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003508/0.9028, allocations: 214.2 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9029, allocations: 7.984 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.9029, allocations: 7.953 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.903, allocations: 24.84 kB / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.9032, allocations: 35.98 kB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.9042, allocations: 1.323 MB / 1.033 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.9043, allocations: 19.88 kB / 1.033 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.9044, allocations: 11.98 kB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.9045, allocations: 149.9 kB / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.9046, allocations: 15.88 kB / 1.033 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.9046, allocations: 29.34 kB / 1.033 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.9046, allocations: 0 / 1.033 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9046, allocations: 4 kB / 1.033 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9046, allocations: 0 / 1.033 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.9053, allocations: 491.5 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9053, allocations: 0 / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.9053, allocations: 15.98 kB / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.493e-05/0.9054, allocations: 20.94 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.9054, allocations: 3.938 kB / 1.034 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009284/0.9064, allocations: 1.319 MB / 1.035 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9064, allocations: 80 / 1.035 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.9067, allocations: 252.2 kB / 1.035 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.9068, allocations: 100.9 kB / 1.036 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.9068, allocations: 4 kB / 1.036 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.9069, allocations: 11.98 kB / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.907, allocations: 4 kB / 1.036 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.907, allocations: 4 kB / 1.036 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001307/0.9071, allocations: 145.5 kB / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9071, allocations: 0 / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003476/0.9075, allocations: 55.84 kB / 1.036 GB, free: 1.887 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.9076, allocations: 110.1 kB / 1.036 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.908, allocations: 238.6 kB / 1.036 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9081, allocations: 4 kB / 1.036 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.9083, allocations: 158.6 kB / 1.036 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.9087, allocations: 44.3 kB / 1.036 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.9095, allocations: 0.497 MB / 1.037 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.9099, allocations: 0.7557 MB / 1.038 GB, free: 0 / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.91, allocations: 15.44 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.91, allocations: 0 / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of Templates: time 0.005471/0.9155, allocations: 3.209 MB / 1.041 GB, free: 12.79 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.o] Error 1