Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001375/0.001375, 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.001698/0.001698, allocations: 197.1 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 1.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002261/0.002261, allocations: 286.8 kB / 290.9 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9617/0.9617, allocations: 169.2 MB / 0.4984 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 96.31 kB / 0.5951 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2035, allocations: 86.97 MB / 0.6801 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.006364/0.2099, allocations: 3.254 MB / 0.6832 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.2126, allocations: 1.371 MB / 0.6846 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.2129, allocations: 4 kB / 0.6846 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.2141, allocations: 320.5 kB / 0.6849 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.2146, allocations: 141.5 kB / 0.685 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.2151, allocations: 124.3 kB / 0.6851 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.2157, allocations: 470.6 kB / 0.6856 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.2161, allocations: 171.7 kB / 0.6858 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.2164, allocations: 115.6 kB / 0.6859 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.2168, allocations: 155.4 kB / 0.686 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.2168, allocations: 12 kB / 0.686 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.2172, allocations: 211.5 kB / 0.6862 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2174, allocations: 79.8 kB / 0.6863 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.2175, allocations: 123.3 kB / 0.6864 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.2178, allocations: 267.3 kB / 0.6867 GB, free: 10.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2179, allocations: 0 / 0.6867 GB, free: 10.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2179, allocations: 4 kB / 0.6867 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.2179, allocations: 3.938 kB / 0.6867 GB, free: 10.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001005/0.2189, allocations: 0.5342 MB / 0.6872 GB, free: 9.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2189, allocations: 12.03 kB / 0.6872 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.2196, allocations: 76.58 kB / 0.6873 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.2199, allocations: 253.8 kB / 0.6875 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.2199, allocations: 20.8 kB / 0.6876 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.22, allocations: 16.38 kB / 0.6876 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.2205, allocations: 316.6 kB / 0.6879 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2205, allocations: 0 / 0.6879 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2206, allocations: 12 kB / 0.6879 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.2206, allocations: 16.42 kB / 0.6879 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.221, allocations: 213.5 kB / 0.6881 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.2227, allocations: 1.494 MB / 0.6896 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.2231, allocations: 211.7 kB / 0.6898 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.2232, allocations: 44.83 kB / 0.6898 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.2232, allocations: 4 kB / 0.6898 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.2233, allocations: 30.56 kB / 0.6898 GB, free: 6.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 2.975e-06/0.2233, allocations: 3.938 kB / 0.6898 GB, free: 6.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.2239, allocations: 267.6 kB / 0.6901 GB, free: 6.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.224, allocations: 59.41 kB / 0.6902 GB, free: 6.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.2242, allocations: 204.4 kB / 0.6904 GB, free: 6.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2242, allocations: 29.7 kB / 0.6904 GB, free: 6.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2243, allocations: 171.7 kB / 0.6905 GB, free: 6.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.2244, allocations: 31.61 kB / 0.6906 GB, free: 6.082 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.2244, allocations: 33.72 kB / 0.6906 GB, free: 6.043 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2246, allocations: 330.8 kB / 0.6909 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2247, allocations: 43.92 kB / 0.691 GB, free: 5.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2248, allocations: 122.6 kB / 0.6911 GB, free: 5.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2251, allocations: 164.5 kB / 0.6912 GB, free: 5.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2251, allocations: 4 kB / 0.6912 GB, free: 5.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003823/0.2255, allocations: 218.2 kB / 0.6914 GB, free: 5.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2255, allocations: 4 kB / 0.6915 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2255, allocations: 4 kB / 0.6915 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.2257, allocations: 24.84 kB / 0.6915 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.2259, allocations: 39.86 kB / 0.6915 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.227, allocations: 1.327 MB / 0.6928 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2271, allocations: 19.84 kB / 0.6928 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2272, allocations: 4 kB / 0.6928 GB, free: 3.543 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.2273, allocations: 151.4 kB / 0.693 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.2274, allocations: 19.75 kB / 0.693 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.2274, allocations: 21.39 kB / 0.693 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2274, allocations: 4 kB / 0.693 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2274, allocations: 0 / 0.693 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2274, allocations: 0 / 0.693 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.2281, allocations: 487.1 kB / 0.6935 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.2281, allocations: 15.97 kB / 0.6935 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.2282, allocations: 8 kB / 0.6935 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-05/0.2282, allocations: 24.84 kB / 0.6935 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2283, allocations: 0 / 0.6935 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009562/0.2292, allocations: 1.327 MB / 0.6948 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2292, allocations: 4.031 kB / 0.6948 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.2296, allocations: 240.2 kB / 0.6951 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.2296, allocations: 100.9 kB / 0.6952 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2297, allocations: 3.984 kB / 0.6952 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2298, allocations: 11.94 kB / 0.6952 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.2299, allocations: 7.984 kB / 0.6952 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2299, allocations: 0 / 0.6952 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.23, allocations: 149.5 kB / 0.6953 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.23, allocations: 0 / 0.6953 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.2304, allocations: 55.84 kB / 0.6954 GB, free: 0.7031 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.2305, allocations: 103.2 kB / 0.6955 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000431/0.2309, allocations: 230.5 kB / 0.6957 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2309, allocations: 0 / 0.6957 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.2311, allocations: 159.2 kB / 0.6958 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2315, allocations: 40.14 kB / 0.6959 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.2322, allocations: 0.5025 MB / 0.6964 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2326, allocations: 0.7595 MB / 0.6971 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.2326, allocations: 15.44 kB / 0.6971 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2326, allocations: 0 / 0.6971 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.005217/0.2379, allocations: 3.217 MB / 0.7003 GB, free: 11.6 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.o] Error 1