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.0009033/0.0009032, allocations: 99.12 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.001338/0.001338, allocations: 177.3 kB / 16.58 MB, free: 6.879 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.796/1.796, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.845/1.845, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005892/0.0005893, allocations: 16.47 kB / 0.6744 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3363, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004696/0.3411, allocations: 2.49 MB / 0.7904 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00321/0.3443, allocations: 1.568 MB / 0.7919 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.3447, allocations: 4 kB / 0.7919 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.3449, allocations: 31.72 kB / 0.7919 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006553/0.3456, allocations: 139.4 kB / 0.7921 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.3463, allocations: 167.6 kB / 0.7922 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00062/0.3469, allocations: 350.9 kB / 0.7925 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.348, allocations: 366.9 kB / 0.7929 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.3485, allocations: 107.6 kB / 0.793 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.3491, allocations: 139.5 kB / 0.7931 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.3491, allocations: 8 kB / 0.7931 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005671/0.3497, allocations: 135.8 kB / 0.7933 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3499, allocations: 67.8 kB / 0.7933 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.35, allocations: 65.58 kB / 0.7934 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.3506, allocations: 315.4 kB / 0.7937 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3507, allocations: 0 / 0.7937 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3507, allocations: 0 / 0.7937 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.3507, allocations: 0 / 0.7937 GB, free: 5.984 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.00129/0.352, allocations: 0.5028 MB / 0.7942 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3521, allocations: 8.031 kB / 0.7942 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.353, allocations: 95.56 kB / 0.7943 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.3536, allocations: 262.5 kB / 0.7945 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3536, allocations: 8.375 kB / 0.7945 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.3537, allocations: 27.91 kB / 0.7946 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.3544, allocations: 386 kB / 0.7949 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3544, allocations: 4 kB / 0.7949 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.3545, allocations: 11.98 kB / 0.795 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.3545, allocations: 24.31 kB / 0.795 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.3551, allocations: 332.6 kB / 0.7953 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.3573, allocations: 1.728 MB / 0.797 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.3581, allocations: 333.1 kB / 0.7973 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.3584, allocations: 157.6 kB / 0.7975 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.3586, allocations: 85.09 kB / 0.7975 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3586, allocations: 38.5 kB / 0.7976 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.3586, allocations: 0 / 0.7976 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.00149/0.3601, allocations: 0.6061 MB / 0.7982 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3602, allocations: 85.3 kB / 0.7982 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.3605, allocations: 207.7 kB / 0.7984 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3605, allocations: 29.7 kB / 0.7985 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.3607, allocations: 155.8 kB / 0.7986 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.3608, allocations: 82.92 kB / 0.7987 GB, free: 500 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.3609, allocations: 4 kB / 0.7987 GB, free: 496 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.361, allocations: 330.8 kB / 0.799 GB, free: 156 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.3613, allocations: 136.5 kB / 0.7991 GB, free: 20 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.3617, allocations: 219.6 kB / 0.7994 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.362, allocations: 159.2 kB / 0.7995 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.362, allocations: 4 kB / 0.7995 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009364/0.3629, allocations: 440.1 kB / 0.7999 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.3631, allocations: 170.7 kB / 0.8001 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3631, allocations: 0 / 0.8001 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.3634, allocations: 56.75 kB / 0.8001 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.3637, allocations: 71.88 kB / 0.8002 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.3653, allocations: 1.481 MB / 0.8017 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3655, allocations: 35.84 kB / 0.8017 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.3656, allocations: 12 kB / 0.8017 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.3656, allocations: 4 kB / 0.8017 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007714/0.3664, allocations: 371.7 kB / 0.8021 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3664, allocations: 4.344 kB / 0.8021 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.3665, allocations: 48.97 kB / 0.8021 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3668, allocations: 67.88 kB / 0.8022 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.3686, allocations: 1.493 MB / 0.8036 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3687, allocations: 27.91 kB / 0.8037 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3688, allocations: 12 kB / 0.8037 GB, free: 11 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.369, allocations: 229 kB / 0.8039 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.3691, allocations: 31.78 kB / 0.8039 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008423/0.3699, allocations: 364 kB / 0.8043 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3699, allocations: 8 kB / 0.8043 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3699, allocations: 3.938 kB / 0.8043 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3699, allocations: 0 / 0.8043 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.3716, allocations: 0.96 MB / 0.8052 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3716, allocations: 0 / 0.8052 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.3718, allocations: 55.89 kB / 0.8053 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.3719, allocations: 44.98 kB / 0.8053 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.372, allocations: 4 kB / 0.8053 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.3732, allocations: 1.417 MB / 0.8067 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3732, allocations: 7.984 kB / 0.8067 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.374, allocations: 0.5277 MB / 0.8072 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3741, allocations: 132.7 kB / 0.8074 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3741, allocations: 7.984 kB / 0.8074 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.3744, allocations: 27.98 kB / 0.8074 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3745, allocations: 23.91 kB / 0.8074 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3745, allocations: 8 kB / 0.8074 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001418/0.3747, allocations: 155.5 kB / 0.8076 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3747, allocations: 0 / 0.8076 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006912/0.3754, allocations: 112 kB / 0.8077 GB, free: 6.621 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.3756, allocations: 106.5 kB / 0.8078 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.377, allocations: 0.7317 MB / 0.8085 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.377, allocations: 0.9375 kB / 0.8085 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.3774, allocations: 282.6 kB / 0.8088 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.3779, allocations: 43.86 kB / 0.8088 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.379, allocations: 0.7124 MB / 0.8095 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.3795, allocations: 0.7639 MB / 0.8102 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.3796, allocations: 23.44 kB / 0.8103 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.3796, allocations: 0 / 0.8103 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of Templates: time 0.00838/0.388, allocations: 4.171 MB / 0.8143 GB, free: 15.68 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++ 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_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