Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 102.6 kB / 15.71 MB, free: 460 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.0009714/0.0009715, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.869/1.869, allocations: 205.4 MB / 222.7 MB, free: 5.871 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.816/1.816, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0005077/0.0005078, allocations: 14.09 kB / 0.6744 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006079/0.2731, allocations: 4.482 MB / 0.7923 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005286/0.2784, allocations: 3.112 MB / 0.7954 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.2788, allocations: 7.938 kB / 0.7954 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.2795, allocations: 155.1 kB / 0.7955 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009339/0.2804, allocations: 306.5 kB / 0.7958 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.2811, allocations: 195.5 kB / 0.796 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2821, allocations: 0.697 MB / 0.7967 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.2837, allocations: 0.7431 MB / 0.7974 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.2843, allocations: 199.2 kB / 0.7976 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.2848, allocations: 251.1 kB / 0.7978 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.2849, allocations: 20 kB / 0.7978 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008433/0.2857, allocations: 235.7 kB / 0.7981 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.2859, allocations: 143.5 kB / 0.7982 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.2861, allocations: 105.5 kB / 0.7983 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.2871, allocations: 0.7093 MB / 0.799 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.2871, allocations: 0 / 0.799 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.886e-06/0.2871, allocations: 4 kB / 0.799 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.2871, allocations: 0 / 0.799 GB, free: 0.5195 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00182/0.289, allocations: 0.748 MB / 0.7997 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.289, allocations: 12.03 kB / 0.7997 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.2916, allocations: 0.6936 MB / 0.8004 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/0.2926, allocations: 478.7 kB / 0.8009 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.2927, allocations: 20.66 kB / 0.8009 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.2928, allocations: 31.98 kB / 0.8009 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.2943, allocations: 0.8434 MB / 0.8018 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.2944, allocations: 0 / 0.8018 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.2944, allocations: 12 kB / 0.8018 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.2946, allocations: 72.56 kB / 0.8018 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.2966, allocations: 0.9389 MB / 0.8028 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/0.3011, allocations: 2.925 MB / 0.8056 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.3026, allocations: 0.5688 MB / 0.8062 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.3033, allocations: 316.9 kB / 0.8065 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.3035, allocations: 97.27 kB / 0.8066 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3036, allocations: 38.7 kB / 0.8066 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.3036, allocations: 0 / 0.8066 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.01199/0.3156, allocations: 3.65 MB / 0.8102 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.3157, allocations: 81.11 kB / 0.8102 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.3162, allocations: 408.5 kB / 0.8106 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.3163, allocations: 33.7 kB / 0.8107 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.3165, allocations: 227.9 kB / 0.8109 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3166, allocations: 114.4 kB / 0.811 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3167, allocations: 8 kB / 0.811 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3168, allocations: 342.8 kB / 0.8113 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008631/0.3177, allocations: 403.6 kB / 0.8117 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.3188, allocations: 492.8 kB / 0.8122 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.3198, allocations: 432.2 kB / 0.8126 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3198, allocations: 3.953 kB / 0.8126 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005199/0.325, allocations: 1.733 MB / 0.8143 GB, free: 360 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.3252, allocations: 152 kB / 0.8144 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3253, allocations: 0 / 0.8144 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004116/0.3294, allocations: 0.9777 MB / 0.8154 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.3301, allocations: 131.8 kB / 0.8155 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009434/0.3395, allocations: 6.399 MB / 0.8218 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/0.3404, allocations: 115.9 kB / 0.8219 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.3405, allocations: 19.97 kB / 0.8219 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.3405, allocations: 4 kB / 0.8219 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004705/0.3452, allocations: 1.663 MB / 0.8235 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3452, allocations: 4 kB / 0.8235 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002909/0.3481, allocations: 0.7174 MB / 0.8242 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.3487, allocations: 139.8 kB / 0.8244 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006327/0.3551, allocations: 5.434 MB / 0.8297 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.3558, allocations: 111.8 kB / 0.8298 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.3559, allocations: 15.92 kB / 0.8298 GB, free: 15.56 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004703/0.3564, allocations: 329 kB / 0.8301 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.3565, allocations: 39.61 kB / 0.8301 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/0.3619, allocations: 1.625 MB / 0.8317 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.362, allocations: 4 kB / 0.8317 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.362, allocations: 4 kB / 0.8317 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.362, allocations: 3.984 kB / 0.8317 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.3677, allocations: 2.33 MB / 0.834 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3677, allocations: 0 / 0.834 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.3681, allocations: 87.94 kB / 0.8341 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003665/0.3718, allocations: 0.9231 MB / 0.835 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.3718, allocations: 4 kB / 0.835 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008235/0.3801, allocations: 6.225 MB / 0.8411 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3801, allocations: 11.91 kB / 0.8411 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.3848, allocations: 1.64 MB / 0.8427 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.3851, allocations: 180.6 kB / 0.8429 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.3852, allocations: 8 kB / 0.8429 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.3857, allocations: 87.86 kB / 0.843 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.3859, allocations: 39.89 kB / 0.843 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.3859, allocations: 8 kB / 0.843 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004075/0.3863, allocations: 311.1 kB / 0.8433 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3864, allocations: 0 / 0.8433 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001156/0.3875, allocations: 240 kB / 0.8435 GB, free: 0.9141 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.3878, allocations: 127.2 kB / 0.8436 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004626/0.3924, allocations: 2.245 MB / 0.8458 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3924, allocations: 0 / 0.8458 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.3939, allocations: 0.8397 MB / 0.8467 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.3946, allocations: 128.5 kB / 0.8468 GB, free: 13.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.3971, allocations: 1.339 MB / 0.8481 GB, free: 12.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.3978, allocations: 0.9142 MB / 0.849 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.3979, allocations: 39.41 kB / 0.849 GB, free: 11.07 MB / 0.67 GB Notification: Performance of SimCode: time 9.31e-07/0.3979, allocations: 4 kB / 0.849 GB, free: 11.07 MB / 0.67 GB Notification: Performance of Templates: time 0.02044/0.4184, allocations: 15.41 MB / 0.8641 GB, free: 11.69 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1