Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009639, allocations: 88.2 kB / 16.03 MB, free: 56 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.001328/0.001328, allocations: 187.8 kB / 16.94 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.7 MB / 0.5509 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006187/0.0006191, allocations: 14.91 kB / 0.675 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3636, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003728/0.3674, allocations: 2.591 MB / 0.7911 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.3706, allocations: 1.664 MB / 0.7927 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3708, allocations: 4 kB / 0.7927 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.371, allocations: 35.7 kB / 0.7927 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.3716, allocations: 167.4 kB / 0.7929 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.3722, allocations: 211.5 kB / 0.7931 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.3727, allocations: 434.8 kB / 0.7935 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007996/0.3735, allocations: 378.2 kB / 0.7939 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3737, allocations: 99.56 kB / 0.794 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.374, allocations: 143.5 kB / 0.7941 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.3741, allocations: 12 kB / 0.7941 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.3746, allocations: 303.4 kB / 0.7944 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3747, allocations: 75.78 kB / 0.7945 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3749, allocations: 129.1 kB / 0.7946 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.3753, allocations: 319.1 kB / 0.7949 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3753, allocations: 0 / 0.7949 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.624e-06/0.3753, allocations: 0 / 0.7949 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3753, allocations: 4 kB / 0.7949 GB, free: 5.016 MB / 0.6075 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.000921/0.3763, allocations: 0.5107 MB / 0.7954 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3763, allocations: 8.031 kB / 0.7954 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007004/0.377, allocations: 88.56 kB / 0.7955 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.3774, allocations: 255.9 kB / 0.7957 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3774, allocations: 12.75 kB / 0.7958 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.3775, allocations: 24.28 kB / 0.7958 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.3782, allocations: 390.3 kB / 0.7961 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3782, allocations: 3.938 kB / 0.7962 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3782, allocations: 11.94 kB / 0.7962 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.3783, allocations: 24.31 kB / 0.7962 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/0.3789, allocations: 336.6 kB / 0.7965 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.381, allocations: 1.724 MB / 0.7982 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.3818, allocations: 341 kB / 0.7985 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.382, allocations: 153.6 kB / 0.7987 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.3822, allocations: 93.08 kB / 0.7988 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3822, allocations: 34.56 kB / 0.7988 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.3822, allocations: 0 / 0.7988 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0014/0.3837, allocations: 0.6114 MB / 0.7994 GB, free: 96 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.3837, allocations: 81.11 kB / 0.7995 GB, free: 16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.384, allocations: 207.7 kB / 0.7997 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.384, allocations: 25.7 kB / 0.7997 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3841, allocations: 171.8 kB / 0.7998 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.3842, allocations: 71 kB / 0.7999 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.3842, allocations: 29.7 kB / 0.7999 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3844, allocations: 330.8 kB / 0.8003 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3847, allocations: 132.5 kB / 0.8004 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.385, allocations: 223.3 kB / 0.8006 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.3856, allocations: 376.4 kB / 0.801 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3856, allocations: 4 kB / 0.801 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008337/0.3865, allocations: 436.9 kB / 0.8014 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.3866, allocations: 174.7 kB / 0.8015 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3866, allocations: 4 kB / 0.8015 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.3869, allocations: 36.83 kB / 0.8016 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.3873, allocations: 75.88 kB / 0.8017 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.3891, allocations: 1.493 MB / 0.8031 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.3895, allocations: 39.88 kB / 0.8031 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3895, allocations: 16 kB / 0.8032 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.3895, allocations: 4 kB / 0.8032 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009818/0.3905, allocations: 364.5 kB / 0.8035 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3906, allocations: 7.938 kB / 0.8035 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.3907, allocations: 44.75 kB / 0.8036 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.3911, allocations: 71.89 kB / 0.8036 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.3927, allocations: 1.481 MB / 0.8051 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.393, allocations: 23.98 kB / 0.8051 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3931, allocations: 16.05 kB / 0.8051 GB, free: 9.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.3933, allocations: 240.9 kB / 0.8053 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.3934, allocations: 19.72 kB / 0.8054 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.3944, allocations: 364.1 kB / 0.8057 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3944, allocations: 144 / 0.8057 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3944, allocations: 4 kB / 0.8057 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3944, allocations: 11.86 kB / 0.8057 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.3964, allocations: 0.9756 MB / 0.8067 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3965, allocations: 4 kB / 0.8067 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.3968, allocations: 56.02 kB / 0.8067 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.397, allocations: 36.83 kB / 0.8068 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.397, allocations: 8 kB / 0.8068 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.3985, allocations: 1.402 MB / 0.8082 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.3986, allocations: 11.81 kB / 0.8082 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009636/0.3995, allocations: 0.5471 MB / 0.8087 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.3997, allocations: 128.7 kB / 0.8088 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.3998, allocations: 8 kB / 0.8088 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.4001, allocations: 23.97 kB / 0.8089 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.4002, allocations: 23.97 kB / 0.8089 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.4002, allocations: 12 kB / 0.8089 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001882/0.4004, allocations: 155.5 kB / 0.809 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4004, allocations: 0 / 0.809 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008806/0.4013, allocations: 104 kB / 0.8091 GB, free: 5.352 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001891/0.4015, allocations: 111.2 kB / 0.8092 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.4033, allocations: 0.744 MB / 0.81 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4033, allocations: 0 / 0.81 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.4038, allocations: 274.1 kB / 0.8102 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.4046, allocations: 38.61 kB / 0.8103 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.406, allocations: 0.7043 MB / 0.811 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.4066, allocations: 0.7717 MB / 0.8117 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.4067, allocations: 23.44 kB / 0.8117 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of SimCode: time 3.907e-06/0.4067, allocations: 0 / 0.8117 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.009534/0.4163, allocations: 4.159 MB / 0.8158 GB, free: 14.41 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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 OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.o] Error 1